projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
870fe4e
)
mpeg2dec: Fix GstVideoInfo pointer
author
Robert Swain
<robert.swain@collabora.co.uk>
Mon, 23 Jul 2012 09:25:34 +0000
(11:25 +0200)
committer
Robert Swain
<robert.swain@collabora.co.uk>
Mon, 23 Jul 2012 09:28:51 +0000
(11:28 +0200)
ext/mpeg2dec/gstmpeg2dec.c
patch
|
blob
|
history
diff --git
a/ext/mpeg2dec/gstmpeg2dec.c
b/ext/mpeg2dec/gstmpeg2dec.c
index 00d4073814458306ed6c2b4f3af454c441893ee9..66730768d6b57352d1504acc77abd3672695a3b8 100644
(file)
--- a/
ext/mpeg2dec/gstmpeg2dec.c
+++ b/
ext/mpeg2dec/gstmpeg2dec.c
@@
-813,8
+813,8
@@
handle_picture (GstMpeg2dec * mpeg2dec, const mpeg2_info_t * info,
GST_DEBUG_OBJECT (mpeg2dec, "picture %s, frame %i",
key_frame ? ", kf," : " ", frame->system_frame_number);
- if (GST_VIDEO_INFO_IS_INTERLACED (&
frame->
info)) {
- /
/ This implies SEQ_FLAG_PROGRESSIVE_SEQUENCE is not set
+ if (GST_VIDEO_INFO_IS_INTERLACED (&
mpeg2dec->decoded_
info)) {
+ /
* This implies SEQ_FLAG_PROGRESSIVE_SEQUENCE is not set */
if (picture->flags & PIC_FLAG_TOP_FIELD_FIRST) {
GST_BUFFER_FLAG_SET (buffer, GST_VIDEO_BUFFER_FLAG_TFF);
}