decodebin3: Remove unused variable
authorSeungha Yang <sh.yang@lge.com>
Sat, 3 Dec 2016 14:01:53 +0000 (23:01 +0900)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 8 Dec 2016 15:59:07 +0000 (16:59 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=773341

gst/playback/gstdecodebin3-parse.c
gst/playback/gstdecodebin3.c

index deeac03..174852f 100644 (file)
@@ -56,9 +56,6 @@ struct _DecodebinInputStream
   /* Whether we saw an EOS on input. This should be treated accordingly
    * when the stream is no longer used */
   gboolean saw_eos;
-  /* TRUE if the EOS being pushed is only for draining and does not represent
-   * the full media EOS */
-  gboolean drain_eos;
 };
 
 static void parsebin_pad_added_cb (GstElement * demux, GstPad * pad,
@@ -458,8 +455,7 @@ parsebin_buffer_probe (GstPad * pad, GstPadProbeInfo * info,
   g_mutex_lock (&dbin->selection_lock);
   for (tmp = dbin->slots; tmp; tmp = tmp->next) {
     MultiQueueSlot *slot = (MultiQueueSlot *) tmp->data;
-    GST_LOG_OBJECT (dbin, "Slot %d input:%p drain_eos:%d",
-        slot->id, slot->input, slot->drain_eos);
+    GST_LOG_OBJECT (dbin, "Slot %d input:%p", slot->id, slot->input);
     if (slot->input == NULL) {
       unused_slot =
           g_list_append (unused_slot, gst_object_ref (slot->sink_pad));
index 6a22dc3..92cb9ad 100644 (file)
@@ -317,8 +317,6 @@ typedef struct _MultiQueueSlot
   /* id of the MQ src_pad event probe */
   gulong probe_id;
 
-  gboolean drain_eos;
-
   gboolean is_drained;
 
   DecodebinOutputStream *output;