Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
3c802cab
Commit
3c802cab
authored
Jan 27, 2011
by
Stefano Sabatini
Committed by
Janne Grunau
Jan 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In the rawvideo decoder, set pkt_pts in the output frame.
Signed-off-by:
Janne Grunau
<
janne-ffmpeg@jannau.net
>
parent
3e5bc7ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
rawdec.c
libavcodec/rawdec.c
+1
-0
No files found.
libavcodec/rawdec.c
View file @
3c802cab
...
@@ -124,6 +124,7 @@ static int raw_decode(AVCodecContext *avctx,
...
@@ -124,6 +124,7 @@ static int raw_decode(AVCodecContext *avctx,
frame
->
interlaced_frame
=
avctx
->
coded_frame
->
interlaced_frame
;
frame
->
interlaced_frame
=
avctx
->
coded_frame
->
interlaced_frame
;
frame
->
top_field_first
=
avctx
->
coded_frame
->
top_field_first
;
frame
->
top_field_first
=
avctx
->
coded_frame
->
top_field_first
;
frame
->
reordered_opaque
=
avctx
->
reordered_opaque
;
frame
->
reordered_opaque
=
avctx
->
reordered_opaque
;
frame
->
pkt_pts
=
avctx
->
pkt
->
pts
;
//2bpp and 4bpp raw in avi and mov (yes this is ugly ...)
//2bpp and 4bpp raw in avi and mov (yes this is ugly ...)
if
(
context
->
buffer
)
{
if
(
context
->
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