mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
updated translation return silently when filesink not open
Original commit message from CVS: updated translation return silently when filesink not open
This commit is contained in:
parent
c7c3a5a4d4
commit
0bf7263c12
4 changed files with 278 additions and 344 deletions
|
@ -1,3 +1,12 @@
|
|||
2004-03-18 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst/elements/gstfilesink.c: (gst_filesink_get_formats),
|
||||
(gst_filesink_get_query_types), (_do_init),
|
||||
(gst_filesink_handle_event), (gst_filesink_uri_get_protocols):
|
||||
return FALSE silently
|
||||
* po/af.po:
|
||||
updated translation (Joost Petri)
|
||||
|
||||
2004-03-18 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* Makefile.am:
|
||||
|
|
|
@ -332,7 +332,9 @@ gst_filesink_handle_event (GstPad * pad, GstEvent * event)
|
|||
|
||||
filesink = GST_FILESINK (gst_pad_get_parent (pad));
|
||||
|
||||
g_return_val_if_fail (GST_FLAG_IS_SET (filesink, GST_FILESINK_OPEN), FALSE);
|
||||
/* FIXME: should the event be unreferenced ? */
|
||||
if (!(GST_FLAG_IS_SET (filesink, GST_FILESINK_OPEN)))
|
||||
return FALSE;
|
||||
|
||||
type = event ? GST_EVENT_TYPE (event) : GST_EVENT_UNKNOWN;
|
||||
|
||||
|
|
|
@ -332,7 +332,9 @@ gst_filesink_handle_event (GstPad * pad, GstEvent * event)
|
|||
|
||||
filesink = GST_FILESINK (gst_pad_get_parent (pad));
|
||||
|
||||
g_return_val_if_fail (GST_FLAG_IS_SET (filesink, GST_FILESINK_OPEN), FALSE);
|
||||
/* FIXME: should the event be unreferenced ? */
|
||||
if (!(GST_FLAG_IS_SET (filesink, GST_FILESINK_OPEN)))
|
||||
return FALSE;
|
||||
|
||||
type = event ? GST_EVENT_TYPE (event) : GST_EVENT_UNKNOWN;
|
||||
|
||||
|
|
Loading…
Reference in a new issue