mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
ext/esd/esdsink.c: Fix crash when ESD is killed while we're playing.
Original commit message from CVS: * ext/esd/esdsink.c: (gst_esdsink_chain): Fix crash when ESD is killed while we're playing. * gst/qtdemux/qtdemux.c: (qtdemux_parse): call gst_element_no_more_pads().
This commit is contained in:
parent
5fa01401cc
commit
63d2359147
3 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2004-05-14 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
|
* ext/esd/esdsink.c: (gst_esdsink_chain): Fix crash when ESD
|
||||||
|
is killed while we're playing.
|
||||||
|
* gst/qtdemux/qtdemux.c: (qtdemux_parse): call
|
||||||
|
gst_element_no_more_pads().
|
||||||
|
|
||||||
2004-05-14 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
|
2004-05-14 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
|
||||||
|
|
||||||
* gst-libs/gst/riff/riff-read.c :
|
* gst-libs/gst/riff/riff-read.c :
|
||||||
|
|
|
@ -296,7 +296,10 @@ gst_esdsink_chain (GstPad * pad, GstData * _data)
|
||||||
if (errno == EINTR) {
|
if (errno == EINTR) {
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
g_assert_not_reached ();
|
/* connection closed? */
|
||||||
|
GST_ELEMENT_ERROR (esdsink, RESOURCE, WRITE, (NULL),
|
||||||
|
("communication with ESD failed"));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
to_write -= done;
|
to_write -= done;
|
||||||
|
|
|
@ -1722,6 +1722,7 @@ qtdemux_parse_tree (GstQTDemux * qtdemux)
|
||||||
while ((trak = qtdemux_tree_get_sibling_by_type (trak, FOURCC_trak)) != NULL)
|
while ((trak = qtdemux_tree_get_sibling_by_type (trak, FOURCC_trak)) != NULL)
|
||||||
qtdemux_parse_trak (qtdemux, trak);
|
qtdemux_parse_trak (qtdemux, trak);
|
||||||
|
|
||||||
|
gst_element_no_more_pads (GST_ELEMENT (qtdemux));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue