projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
069a497
)
mpegvideoparse: Fix codec_data handling
author
Edward Hervey
<edward@collabora.com>
Tue, 23 Jul 2013 08:10:13 +0000
(10:10 +0200)
committer
Edward Hervey
<edward@collabora.com>
Tue, 23 Jul 2013 16:16:32 +0000
(18:16 +0200)
Set to sequence_offset so that _process_config accepts it.
(btw: seq_offset usage throughout this plugin is really dodgy)
https://bugzilla.gnome.org/show_bug.cgi?id=702806
gst/videoparsers/gstmpegvideoparse.c
patch
|
blob
|
history
diff --git
a/gst/videoparsers/gstmpegvideoparse.c
b/gst/videoparsers/gstmpegvideoparse.c
index
683479b
..
2293f81
100644
(file)
--- a/
gst/videoparsers/gstmpegvideoparse.c
+++ b/
gst/videoparsers/gstmpegvideoparse.c
@@
-971,6
+971,7
@@
gst_mpegv_parse_set_caps (GstBaseParse * parse, GstCaps * caps)
/* best possible parse attempt,
* src caps are based on sink caps so it will end up in there
* whether sucessful or not */
+ mpvparse->seq_offset = 4;
gst_mpegv_parse_process_config (mpvparse, &map, gst_buffer_get_size (buf));
gst_buffer_unmap (buf, &map);
gst_mpegv_parse_reset_frame (mpvparse);