[0.11] gstreamer: fdsink: fix compilation after merge

Tim Müller tpm at kemper.freedesktop.org
Sun Feb 26 16:14:31 PST 2012


Module: gstreamer
Branch: 0.11
Commit: f701237b776006eabbfb508bb78f6bca3ed632db
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=f701237b776006eabbfb508bb78f6bca3ed632db

Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Mon Feb 27 00:09:57 2012 +0000

fdsink: fix compilation after merge

---

 plugins/elements/gstfdsink.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/plugins/elements/gstfdsink.c b/plugins/elements/gstfdsink.c
index 3831b09..ae384fd 100644
--- a/plugins/elements/gstfdsink.c
+++ b/plugins/elements/gstfdsink.c
@@ -208,7 +208,9 @@ gst_fd_sink_query (GstBaseSink * bsink, GstQuery * query)
       gst_query_set_uri (query, fdsink->uri);
       res = TRUE;
       break;
-    case GST_QUERY_SEEKING:
+    case GST_QUERY_SEEKING:{
+      GstFormat format;
+
       gst_query_parse_seeking (query, &format, NULL, NULL, NULL);
       if (format == GST_FORMAT_BYTES || format == GST_FORMAT_DEFAULT) {
         gst_query_set_seeking (query, GST_FORMAT_BYTES, fdsink->seekable, 0,
@@ -218,6 +220,7 @@ gst_fd_sink_query (GstBaseSink * bsink, GstQuery * query)
       }
       res = TRUE;
       break;
+    }
     default:
       res = GST_BASE_SINK_CLASS (parent_class)->query (bsink, query);
       break;



More information about the gstreamer-commits mailing list