Commit 5b01f9bb authored by hoonhee.lee's avatar hoonhee.lee Committed by Edward Hervey

uridecodebin3: don't segfault if a pad is not a source pad when it is removed

Ignore to handling a pad of decodebin3 which doesn't have corresponding output
when it is removed.
parent 1b36477d
......@@ -565,6 +565,9 @@ db_pad_removed_cb (GstElement * element, GstPad * pad, GstURIDecodeBin3 * dec)
GList *tmp;
OutputPad *output = NULL;
if (!GST_PAD_IS_SRC (pad))
GST_DEBUG_OBJECT (dec, "pad %s:%s", GST_DEBUG_PAD_NAME (pad));
/* FIXME: LOCK for list access */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment