[Bug 796106] video: Support alternate interlaced video

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Aug 27 19:44:37 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796106

Nicolas Dufresne (ndufresne) <nicolas at ndufresne.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #373404|none                        |reviewed
             status|                            |

--- Comment #35 from Nicolas Dufresne (ndufresne) <nicolas at ndufresne.ca> ---
Review of attachment 373404:
 --> (https://bugzilla.gnome.org/review?bug=796106&attachment=373404)

::: gst-libs/gst/video/video-info.h
@@ +349,3 @@
 #define GST_VIDEO_INFO_WIDTH(i)          ((i)->width)
 #define GST_VIDEO_INFO_HEIGHT(i)         ((i)->height)
+#define GST_VIDEO_INFO_FIELD_HEIGHT(i)   ((i)->interlace_mode ==
GST_VIDEO_INTERLACE_MODE_ALTERNATE? (i)->height / 2 : (i)->height)

A bit sad none of these is documented, but clearly not related to this change,
so I'm fine. Maybe document this one, just for the sake of adding the Since:
1.16 marker ?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list