Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
6d436261
Commit
6d436261
authored
May 24, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/packetizer/mpegvideo.c: better fix.
parent
964361f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
modules/packetizer/mpegvideo.c
modules/packetizer/mpegvideo.c
+1
-9
No files found.
modules/packetizer/mpegvideo.c
View file @
6d436261
...
...
@@ -268,18 +268,10 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block )
/* Get the new fragment and set the pts/dts */
p_pic
=
block_New
(
p_dec
,
p_sys
->
i_offset
);
block_BytestreamFlush
(
&
p_sys
->
bytestream
);
p_pic
->
i_pts
=
p_sys
->
bytestream
.
p_block
->
i_pts
;
p_pic
->
i_dts
=
p_sys
->
bytestream
.
p_block
->
i_dts
;
/* FIXME ? Should we flush the bytestream chain before ? */
if
(
p_sys
->
bytestream
.
p_block
->
i_buffer
==
p_sys
->
bytestream
.
i_offset
&&
p_sys
->
bytestream
.
p_block
->
p_next
)
{
p_pic
->
i_pts
=
p_sys
->
bytestream
.
p_block
->
p_next
->
i_pts
;
p_pic
->
i_dts
=
p_sys
->
bytestream
.
p_block
->
p_next
->
i_dts
;
}
block_GetBytes
(
&
p_sys
->
bytestream
,
p_pic
->
p_buffer
,
p_pic
->
i_buffer
);
...
...
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