decodebin3: Remove unused variable

https://bugzilla.gnome.org/show_bug.cgi?id=773341
This commit is contained in:
Seungha Yang 2016-12-03 23:01:53 +09:00 committed by Edward Hervey
parent 582c7cef18
commit 49653b058a
2 changed files with 1 additions and 7 deletions

View file

@ -56,9 +56,6 @@ struct _DecodebinInputStream
/* Whether we saw an EOS on input. This should be treated accordingly /* Whether we saw an EOS on input. This should be treated accordingly
* when the stream is no longer used */ * when the stream is no longer used */
gboolean saw_eos; 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, 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); g_mutex_lock (&dbin->selection_lock);
for (tmp = dbin->slots; tmp; tmp = tmp->next) { for (tmp = dbin->slots; tmp; tmp = tmp->next) {
MultiQueueSlot *slot = (MultiQueueSlot *) tmp->data; MultiQueueSlot *slot = (MultiQueueSlot *) tmp->data;
GST_LOG_OBJECT (dbin, "Slot %d input:%p drain_eos:%d", GST_LOG_OBJECT (dbin, "Slot %d input:%p", slot->id, slot->input);
slot->id, slot->input, slot->drain_eos);
if (slot->input == NULL) { if (slot->input == NULL) {
unused_slot = unused_slot =
g_list_append (unused_slot, gst_object_ref (slot->sink_pad)); g_list_append (unused_slot, gst_object_ref (slot->sink_pad));

View file

@ -317,8 +317,6 @@ typedef struct _MultiQueueSlot
/* id of the MQ src_pad event probe */ /* id of the MQ src_pad event probe */
gulong probe_id; gulong probe_id;
gboolean drain_eos;
gboolean is_drained; gboolean is_drained;
DecodebinOutputStream *output; DecodebinOutputStream *output;