ext/flac/gstflacenc.c: Fix compilation against older libflac versions.
authorTim-Philipp Müller <tim@centricular.net>
Wed, 20 Aug 2008 21:54:35 +0000 (21:54 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 20 Aug 2008 21:54:35 +0000 (21:54 +0000)
Original commit message from CVS:
* ext/flac/gstflacenc.c:
Fix compilation against older libflac versions.

ChangeLog
ext/flac/gstflacenc.c

index 2702a1b..d27a94e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-20  Tim-Philipp Müller  <tim at collabora co uk>
+
+       * ext/flac/gstflacenc.c:
+         Fix compilation against older libflac versions.
+
 2008-08-20  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
 
        * ext/pulse/pulsemixer.c: (gst_pulsemixer_class_init),
index 4974fb8..b202fba 100644 (file)
@@ -797,7 +797,7 @@ gst_flac_enc_seek_callback (const FLAC__StreamEncoder * encoder,
       GST_DEBUG ("Seek to %" G_GUINT64_FORMAT " %s", absolute_byte_offset,
           "failed");
 #ifdef LEGACY_FLAC
-      return FLAC__SEEKABLE_STREAM_ENCODER_SEEK_STATUS_UNSUPPORTED;
+      return FLAC__SEEKABLE_STREAM_ENCODER_SEEK_STATUS_ERROR;
 #else
       return FLAC__STREAM_ENCODER_SEEK_STATUS_UNSUPPORTED;
 #endif