Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
cb95cab2
Commit
cb95cab2
authored
Apr 22, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mpeg/system.c, ts.c: added h264 to old TS demuxer.
* mpeg/h264.c : use greater packet size.
parent
133b6cbe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
modules/demux/mpeg/h264.c
modules/demux/mpeg/h264.c
+1
-1
modules/demux/mpeg/system.h
modules/demux/mpeg/system.h
+3
-1
modules/demux/mpeg/ts.c
modules/demux/mpeg/ts.c
+4
-0
No files found.
modules/demux/mpeg/h264.c
View file @
cb95cab2
...
@@ -57,7 +57,7 @@ struct demux_sys_t
...
@@ -57,7 +57,7 @@ struct demux_sys_t
static
int
Demux
(
demux_t
*
);
static
int
Demux
(
demux_t
*
);
static
int
Control
(
demux_t
*
,
int
,
va_list
);
static
int
Control
(
demux_t
*
,
int
,
va_list
);
#define H264_PACKET_SIZE
50
#define H264_PACKET_SIZE
2048
/*****************************************************************************
/*****************************************************************************
* Open: initializes demux structures
* Open: initializes demux structures
...
...
modules/demux/mpeg/system.h
View file @
cb95cab2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* system.h: MPEG demultiplexing.
* system.h: MPEG demultiplexing.
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2002 VideoLAN
* Copyright (C) 1999-2002 VideoLAN
* $Id
: system.h,v 1.14 2004/01/15 22:15:40 gbazin Exp
$
* $Id$
*
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
*
...
@@ -57,6 +57,8 @@
...
@@ -57,6 +57,8 @@
#define MPEG4_VIDEO_ES 0x10
#define MPEG4_VIDEO_ES 0x10
#define MPEG4_AUDIO_ES 0x11
#define MPEG4_AUDIO_ES 0x11
#define H264_VIDEO_ES 0x1b
#define MPEG2_MOTO_VIDEO_ES 0x80
#define MPEG2_MOTO_VIDEO_ES 0x80
#define A52_AUDIO_ES 0x81
#define A52_AUDIO_ES 0x81
/* These ones might violate the usage : */
/* These ones might violate the usage : */
...
...
modules/demux/mpeg/ts.c
View file @
cb95cab2
...
@@ -1449,6 +1449,10 @@ static void TS_DVBPSI_HandlePMT( input_thread_t * p_input,
...
@@ -1449,6 +1449,10 @@ static void TS_DVBPSI_HandlePMT( input_thread_t * p_input,
i_cat
=
AUDIO_ES
;
i_cat
=
AUDIO_ES
;
i_stream_id
=
0xfa
;
i_stream_id
=
0xfa
;
break
;
break
;
case
H264_VIDEO_ES
:
i_fourcc
=
VLC_FOURCC
(
'h'
,
'2'
,
'6'
,
'4'
);
i_cat
=
VIDEO_ES
;
break
;
case
MSCODEC_VIDEO_ES
:
case
MSCODEC_VIDEO_ES
:
i_fourcc
=
VLC_FOURCC
(
0
,
0
,
0
,
0
);
/* fixed later */
i_fourcc
=
VLC_FOURCC
(
0
,
0
,
0
,
0
);
/* fixed later */
i_cat
=
VIDEO_ES
;
i_cat
=
VIDEO_ES
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment