[gst-cvs] gst-plugins-good: [MOVED FROM BAD 20/57] gst/flv/gstflvdemux.c: Forward unknown queries upstream instead of returning FALSE on them.

Sebastian Dröge slomo at kemper.freedesktop.org
Tue May 12 12:57:57 PDT 2009


Module: gst-plugins-good
Branch: master
Commit: 00be5791fe89f3ef26d89680f1e0e583a53c12d1
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=00be5791fe89f3ef26d89680f1e0e583a53c12d1

Author: Wim Taymans <wim.taymans at gmail.com>
Date:   Fri Apr 25 08:07:36 2008 +0000

[MOVED FROM BAD 20/57] gst/flv/gstflvdemux.c: Forward unknown queries upstream instead of returning FALSE on them.

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_query):
Forward unknown queries upstream instead of returning FALSE on them.

---

 gst/flv/gstflvdemux.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c
index 0d8d087..045b345 100644
--- a/gst/flv/gstflvdemux.c
+++ b/gst/flv/gstflvdemux.c
@@ -979,6 +979,7 @@ gst_flv_demux_query (GstPad * pad, GstQuery * query)
       break;
     }
     case GST_QUERY_LATENCY:
+    default:
     {
       GstPad *peer;
 
@@ -992,9 +993,6 @@ gst_flv_demux_query (GstPad * pad, GstQuery * query)
       }
       break;
     }
-    default:
-      res = FALSE;
-      break;
   }
 
 beach:





More information about the Gstreamer-commits mailing list