[Bug 783925] qtmultimedia may not work well with v4l2 decoder

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 19 01:52:43 UTC 2017


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

--- Comment #9 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Are you able to retest this with master and this change ?


@@ -522,6 +552,7 @@ gst_v4l2_video_dec_handle_frame (GstVideoDecoder * decoder,
   GstFlowReturn ret = GST_FLOW_OK;
   gboolean processed = FALSE;
   GstBuffer *tmp;
+  GstTaskState task_state;

   GST_DEBUG_OBJECT (self, "Handling frame %d", frame->system_frame_number);

@@ -649,8 +680,8 @@ gst_v4l2_video_dec_handle_frame (GstVideoDecoder * decoder,
       goto activate_failed;
   }

-  if (gst_pad_get_task_state (GST_VIDEO_DECODER_SRC_PAD (self)) ==
-      GST_TASK_STOPPED) {
+  task_state = gst_pad_get_task_state (GST_VIDEO_DECODER_SRC_PAD (self));
+  if (task_state == GST_TASK_STOPPED || task_state == GST_TASK_PAUSED) {

-- 
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