[Bug 655918] New: qtdemux : qtdemux_add_fragmented_samples return error.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 3 10:31:48 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=655918
  GStreamer | gst-plugins-good | 0.10.29

           Summary: qtdemux : qtdemux_add_fragmented_samples return error.
    Classification: Platform
           Product: GStreamer
           Version: 0.10.29
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: brian7003 at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


I've found that some problem in qtdemux plug-in
"qtdemux_add_fragmented_samples" function,
It'll set the wrong default value for variable "res".
but TRUE(1) means not equal to GST_FLOW_OK(0).

--- a/gst/isomp4/qtdemux.c
+++ b/gst/isomp4/qtdemux.c
@@ -5138,7 +5138,7 @@
static GstFlowReturn
qtdemux_add_fragmented_samples (GstQTDemux * qtdemux)
{
   guint64 length, offset;
   GstBuffer *buf = NULL;
   GstFlowReturn ret = GST_FLOW_OK;
-  GstFlowReturn res = TRUE;
+  GstFlowReturn res = GST_FLOW_OK;

   offset = qtdemux->moof_offset;
   GST_DEBUG_OBJECT (qtdemux, "next moof at offset %" G_GUINT64_FORMAT,
offset);

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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