mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 05:59:10 +00:00
ext/esd/esdsink.c: When we post an error, we must return -1 to let the parent know that we cannot write the segment e...
Original commit message from CVS: * ext/esd/esdsink.c: (gst_esdsink_write): When we post an error, we must return -1 to let the parent know that we cannot write the segment else it will loop and continue to call us again forever. Patch by Michael Meeks.
This commit is contained in:
parent
736b7ba31f
commit
b9775592e3
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2008-05-20 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
|
* ext/esd/esdsink.c: (gst_esdsink_write):
|
||||||
|
When we post an error, we must return -1 to let the parent know that we
|
||||||
|
cannot write the segment else it will loop and continue to call us again
|
||||||
|
forever. Patch by Michael Meeks.
|
||||||
|
|
||||||
2008-05-20 Stefan Kost <ensonic@users.sf.net>
|
2008-05-20 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* gst/videomixer/videomixer.c:
|
* gst/videomixer/videomixer.c:
|
||||||
|
|
|
@ -413,7 +413,7 @@ write_error:
|
||||||
{
|
{
|
||||||
GST_ELEMENT_ERROR (esdsink, RESOURCE, WRITE,
|
GST_ELEMENT_ERROR (esdsink, RESOURCE, WRITE,
|
||||||
("Failed to write data to the esound daemon"), GST_ERROR_SYSTEM);
|
("Failed to write data to the esound daemon"), GST_ERROR_SYSTEM);
|
||||||
return 0;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue