Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
42ea28c0
Commit
42ea28c0
authored
Dec 18, 2002
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mpeg4video: repeat vol headers every 30 frames (But it is buggy)
parent
30a998d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
modules/packetizer/mpeg4video.c
modules/packetizer/mpeg4video.c
+6
-2
No files found.
modules/packetizer/mpeg4video.c
View file @
42ea28c0
...
...
@@ -2,7 +2,7 @@
* mpeg4video.c:
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: mpeg4video.c,v 1.
1 2002/12/14 21:32:41
fenrir Exp $
* $Id: mpeg4video.c,v 1.
2 2002/12/18 16:33:09
fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org>
...
...
@@ -303,6 +303,7 @@ static void PacketizeThread( packetizer_thread_t *p_pack )
else
if
(
i_startcode
==
GROUP_OF_VOP_START_CODE
)
{
msg_Dbg
(
p_pack
->
p_fifo
,
"<group_of_vop>"
);
#if 0
if( p_pack->p_vol && p_pack->i_vop_since_vol > 100 ) // FIXME
{
sout_BufferAddMem( p_sout, p_frame,
...
...
@@ -310,18 +311,21 @@ static void PacketizeThread( packetizer_thread_t *p_pack )
p_pack->p_vol->p_buffer );
p_pack->i_vop_since_vol = 0;
}
#endif
CopyUntilNextStartCode
(
p_pack
,
p_frame
,
&
p_frame
->
i_size
);
}
else
if
(
i_startcode
==
VOP_START_CODE
)
{
msg_Dbg
(
p_pack
->
p_fifo
,
"<vop>"
);
if
(
p_pack
->
p_vol
&&
p_pack
->
i_vop_since_vol
>
100
)
// FIXME
#if 1
if
(
p_pack
->
p_vol
&&
p_pack
->
i_vop_since_vol
>
30
)
// FIXME
{
sout_BufferAddMem
(
p_sout
,
p_frame
,
p_pack
->
p_vol
->
i_size
,
p_pack
->
p_vol
->
p_buffer
);
p_pack
->
i_vop_since_vol
=
0
;
}
#endif
CopyUntilNextStartCode
(
p_pack
,
p_frame
,
&
p_frame
->
i_size
);
p_pack
->
i_vop_since_vol
++
;
break
;
...
...
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