• Carlos Rafael Giani's avatar
    gst-decoder.c: improve buffer_to_image() function · ca13617c
    Carlos Rafael Giani authored
    * Make EGL image attribute specification code more generic, and not
      specific to certain pixel formats, implicitely gaining support for YUY2
    * Better handling of gstbuffers with multiple memory blocks
    * Print out more information about the stream
    * Use the GST_VIDEO_INFO_* macros instead of directly accessing the
      GstVideoInfo fields; this is what the GStreamer documentation recommends
    Signed-off-by: 's avatarCarlos Rafael Giani <dv@pseudoterminal.org>
    ca13617c
gst-decoder.c 15.1 KB