summaryrefslogtreecommitdiffstats
path: root/ext/musepack/gstmusepackreader.cpp
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-01-10 16:42:26 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-01-10 16:42:26 +0000
commite71c5eb03808258434f5dea38f5ad23b580989bd (patch)
tree20c27d5fa8acc76cbc6cf10844b75c0610b7d5aa /ext/musepack/gstmusepackreader.cpp
parentc246ab4641c7433727e1b7f340b04574708ca863 (diff)
downloadgst-plugins-bad-e71c5eb03808258434f5dea38f5ad23b580989bd.tar.gz
gst-plugins-bad-e71c5eb03808258434f5dea38f5ad23b580989bd.tar.bz2
gst-plugins-bad-e71c5eb03808258434f5dea38f5ad23b580989bd.zip
Some work on tags - still doesn't work in playbin...
Original commit message from CVS: * ext/musepack/gstmusepackreader.cpp: * gst/apetag/apedemux.c: (gst_ape_demux_stream_data): Some work on tags - still doesn't work in playbin... * gst/audioscale/gstaudioscale.c: (gst_audioscale_chain): Handle events...
Diffstat (limited to 'ext/musepack/gstmusepackreader.cpp')
-rw-r--r--ext/musepack/gstmusepackreader.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/musepack/gstmusepackreader.cpp b/ext/musepack/gstmusepackreader.cpp
index 2bef1cf2..07fbcf3d 100644
--- a/ext/musepack/gstmusepackreader.cpp
+++ b/ext/musepack/gstmusepackreader.cpp
@@ -64,6 +64,9 @@ GstMusepackReader::read (void * ptr, mpc_int32_t size)
this->eos = true;
gst_event_unref (event);
goto done;
+ case GST_EVENT_FLUSH:
+ gst_event_unref (event);
+ break;
default:
gst_pad_event_default (this->bs->pad, event);
break;
@@ -117,6 +120,9 @@ GstMusepackReader::seek (mpc_int32_t offset)
case GST_EVENT_INTERRUPT:
g_warning ("interrupt!");
return false;
+ case GST_EVENT_FLUSH:
+ gst_event_unref (event);
+ break;
default:
gst_pad_event_default (this->bs->pad, event);
break;