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
b2111baf
Commit
b2111baf
authored
Mar 03, 2004
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/packetizer/mpegvideo.c: Correctly flag the picture types in
block_t::i_flags.
parent
cd3e5b41
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
modules/packetizer/mpegvideo.c
modules/packetizer/mpegvideo.c
+14
-1
No files found.
modules/packetizer/mpegvideo.c
View file @
b2111baf
...
...
@@ -2,7 +2,7 @@
* mpegvideo.c: parse and packetize an MPEG1/2 video stream
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: mpegvideo.c,v 1.3
0 2004/02/25 18:43:24 gbazin
Exp $
* $Id: mpegvideo.c,v 1.3
1 2004/03/03 11:09:30 massiot
Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org>
...
...
@@ -416,6 +416,19 @@ static block_t *ParseMPEGBlock( decoder_t *p_dec, block_t *p_frag )
p_sys
->
i_old_duration
=
i_duration
;
}
switch
(
p_sys
->
i_picture_type
)
{
case
0x01
:
p_pic
->
i_flags
|=
BLOCK_FLAG_TYPE_I
;
break
;
case
0x02
:
p_pic
->
i_flags
|=
BLOCK_FLAG_TYPE_P
;
break
;
case
0x03
:
p_pic
->
i_flags
|=
BLOCK_FLAG_TYPE_B
;
break
;
}
p_pic
->
i_length
=
p_sys
->
i_interpolated_dts
-
p_pic
->
i_dts
;
#if 0
...
...
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