mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
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
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
||||
|
||||
* configure.ac:
|
||||
|
|
|
@ -934,6 +934,7 @@ gst_mad_handle_event (GstPad * pad, GstBuffer * buffer)
|
|||
time, NULL);
|
||||
gst_pad_push (mad->srcpad, GST_DATA (discont));
|
||||
}
|
||||
gst_event_unref (event);
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
|
@ -944,7 +945,6 @@ gst_mad_handle_event (GstPad * pad, GstBuffer * buffer)
|
|||
mad->tempsize = 0;
|
||||
/* we don't need to restart when we get here */
|
||||
mad->restart = FALSE;
|
||||
gst_event_unref (event);
|
||||
break;
|
||||
}
|
||||
case GST_EVENT_EOS:
|
||||
|
|
Loading…
Reference in a new issue