summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-01-10 16:09:24 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-01-10 16:09:24 +0000
commit0ad84df59f1e8ecd397df9b1142839a0990c23a6 (patch)
tree4a1916b807ec9ad1a54dbb1c259749abcd647e29
parenta05243cffe20cae4ddcd1207209bf36535b9d826 (diff)
downloadgst-plugins-bad-0ad84df59f1e8ecd397df9b1142839a0990c23a6.tar.gz
gst-plugins-bad-0ad84df59f1e8ecd397df9b1142839a0990c23a6.tar.bz2
gst-plugins-bad-0ad84df59f1e8ecd397df9b1142839a0990c23a6.zip
gst-libs/gst/riff/riff-read.c: Don't bail on unknown events.
Original commit message from CVS: * gst-libs/gst/riff/riff-read.c: (gst_riff_read_use_event): Don't bail on unknown events. * gst/audioscale/gstaudioscale.c: (gst_audioscale_chain): Don't crash on events before negotiation. * gst/avi/gstavidemux.c: (gst_avi_demux_add_stream): Send tags on pads, too. * gst/playback/gststreamselector.c: (gst_stream_selector_request_new_pad): Forward events on first pad if no input was selected yet.
-rw-r--r--ChangeLog12
-rw-r--r--gst-libs/gst/riff/riff-read.c2
2 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e306119f..7ed9e160 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
2005-01-10 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+ * gst-libs/gst/riff/riff-read.c: (gst_riff_read_use_event):
+ Don't bail on unknown events.
+ * gst/audioscale/gstaudioscale.c: (gst_audioscale_chain):
+ Don't crash on events before negotiation.
+ * gst/avi/gstavidemux.c: (gst_avi_demux_add_stream):
+ Send tags on pads, too.
+ * gst/playback/gststreamselector.c:
+ (gst_stream_selector_request_new_pad):
+ Forward events on first pad if no input was selected yet.
+
+2005-01-10 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+
* gst/playback/gstplaybasebin.c: (setup_substreams):
Don't disable streamtype if the stream doesn't exist, since
then playing a video after audio will disable both and nothing
diff --git a/gst-libs/gst/riff/riff-read.c b/gst-libs/gst/riff/riff-read.c
index e77cb73e..4d379a7b 100644
--- a/gst-libs/gst/riff/riff-read.c
+++ b/gst-libs/gst/riff/riff-read.c
@@ -190,7 +190,7 @@ gst_riff_read_use_event (GstRiffRead * riff, GstEvent * event)
default:
GST_WARNING ("don't know how to handle event %d", GST_EVENT_TYPE (event));
gst_pad_event_default (riff->sinkpad, event);
- return FALSE;
+ return TRUE;
}
/* happy */