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...
This commit is contained in:
Ronald S. Bultje 2005-01-10 16:42:26 +00:00
parent c246ab4641
commit e71c5eb038
4 changed files with 21 additions and 0 deletions

View file

@ -1,3 +1,11 @@
2005-01-10 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* 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...
2005-01-10 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/qtdemux/qtdemux.c: (qtdemux_parse_tree):

View file

@ -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;

View file

@ -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;

View file

@ -710,6 +710,7 @@ gst_ape_demux_stream_data (GstApeDemux * ape)
GstData *data;
data = gst_pad_pull (ape->sinkpad);
if (GST_IS_EVENT (data)) {
GstEvent *event = GST_EVENT (data);