diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-05-06 09:01:34 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-05-06 09:01:34 +0000 |
commit | 9f6377ff0d0be274223523ac46e92c771408dfcf (patch) | |
tree | da5f996776d4205e97162c0cd2bdd08b2a7ca678 /ext/flac/gstflacdec.h | |
parent | be7d42b5489c1062f2200e7f70677d2327ce8f12 (diff) |
ext/flac/gstflacdec.*: Handle segment seeks that include the end of the file as stop point properly: when the decoder...
Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flac_dec_loop):
* ext/flac/gstflacdec.h:
Handle segment seeks that include the end of the file as stop point
properly: when the decoder hits EOS we want to send a SEGMENT_DONE
message instead of an EOS event in case we're in segment seek
mode (fixes #340699).
Diffstat (limited to 'ext/flac/gstflacdec.h')
-rw-r--r-- | ext/flac/gstflacdec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/flac/gstflacdec.h b/ext/flac/gstflacdec.h index 75d4326f..17c232cd 100644 --- a/ext/flac/gstflacdec.h +++ b/ext/flac/gstflacdec.h @@ -30,9 +30,9 @@ G_BEGIN_DECLS #define GST_TYPE_FLAC_DEC gst_flac_dec_get_type() #define GST_FLAC_DEC(obj) G_TYPE_CHECK_INSTANCE_CAST(obj, GST_TYPE_FLAC_DEC, GstFlacDec) -#define GST_FLAC_DEC_CLASS(klass) G_TYPE_CHECK_CLASS_CAST(klass, GST_TYPE_FLAC_DEC, GstFlacDec) +#define GST_FLAC_DEC_CLASS(klass) G_TYPE_CHECK_CLASS_CAST(klass, GST_TYPE_FLAC_DEC, GstFlacDecClass) #define GST_IS_FLAC_DEC(obj) G_TYPE_CHECK_INSTANCE_TYPE(obj, GST_TYPE_FLAC_DEC) -#define GST_IS_FLAC_DEC_CLASS(obj) G_TYPE_CHECK_CLASS_TYPE(klass, GST_TYPE_FLAC_DEC) +#define GST_IS_FLAC_DEC_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE(klass, GST_TYPE_FLAC_DEC) typedef struct _GstFlacDec GstFlacDec; typedef struct _GstFlacDecClass GstFlacDecClass; |