ext/mad/gstmad.c: don't unref the event twice
Original commit message from CVS: * ext/mad/gstmad.c: (gst_mad_handle_event): don't unref the event twice
This commit is contained in:
parent
da3a35d960
commit
0746a067ed
@ -1,3 +1,8 @@
|
|||||||
|
2004-05-19 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||||
|
|
||||||
|
* ext/mad/gstmad.c: (gst_mad_handle_event):
|
||||||
|
don't unref the event twice
|
||||||
|
|
||||||
2004-05-19 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
2004-05-19 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
@ -934,6 +934,7 @@ gst_mad_handle_event (GstPad * pad, GstBuffer * buffer)
|
|||||||
time, NULL);
|
time, NULL);
|
||||||
gst_pad_push (mad->srcpad, GST_DATA (discont));
|
gst_pad_push (mad->srcpad, GST_DATA (discont));
|
||||||
}
|
}
|
||||||
|
gst_event_unref (event);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -944,7 +945,6 @@ gst_mad_handle_event (GstPad * pad, GstBuffer * buffer)
|
|||||||
mad->tempsize = 0;
|
mad->tempsize = 0;
|
||||||
/* we don't need to restart when we get here */
|
/* we don't need to restart when we get here */
|
||||||
mad->restart = FALSE;
|
mad->restart = FALSE;
|
||||||
gst_event_unref (event);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case GST_EVENT_EOS:
|
case GST_EVENT_EOS:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user