aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gstreamer-plugins80/files/patch-ext::flac::gstflacenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gstreamer-plugins80/files/patch-ext::flac::gstflacenc.c')
-rw-r--r--multimedia/gstreamer-plugins80/files/patch-ext::flac::gstflacenc.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins80/files/patch-ext::flac::gstflacenc.c b/multimedia/gstreamer-plugins80/files/patch-ext::flac::gstflacenc.c
new file mode 100644
index 000000000000..f661efeb1f0a
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/files/patch-ext::flac::gstflacenc.c
@@ -0,0 +1,20 @@
+--- ext/flac/gstflacenc.c.orig Thu Jul 11 21:17:58 2002
++++ ext/flac/gstflacenc.c Thu Jul 11 21:33:45 2002
+@@ -56,7 +56,7 @@
+ static FLAC__StreamEncoderWriteStatus
+ gst_flacenc_write_callback (const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], unsigned bytes,
+ unsigned samples, unsigned current_frame, void *client_data);
+-static void gst_flacenc_metadata_callback (const FLAC__StreamEncoder *encoder, const FLAC__StreamMetaData *metadata,
++static void gst_flacenc_metadata_callback (const FLAC__StreamEncoder *encoder, const FLAC__StreamMetadata *metadata,
+ void *client_data);
+
+ static GstElementClass *parent_class = NULL;
+@@ -170,7 +170,7 @@
+ }
+
+ static void
+-gst_flacenc_metadata_callback (const FLAC__StreamEncoder *encoder, const FLAC__StreamMetaData *metadata, void *client_data)
++gst_flacenc_metadata_callback (const FLAC__StreamEncoder *encoder, const FLAC__StreamMetadata *metadata, void *client_data)
+ {
+ GstEvent *event;
+ FlacEnc *flacenc;