diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-07-15 21:44:09 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-07-15 21:44:09 +0000 |
commit | 94f8b9b1f94ade4c3ae25917e0785a1171774a28 (patch) | |
tree | 2781a2239dae05a91afa86f89da47c956bb553b6 /multimedia/gstreamer-plugins80/files | |
parent | c85753e63ab6bddfc0d0e757e1db47b108dfcf87 (diff) |
Notes
Diffstat (limited to 'multimedia/gstreamer-plugins80/files')
3 files changed, 113 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins80/files/patch-configure b/multimedia/gstreamer-plugins80/files/patch-configure new file mode 100644 index 000000000000..001d56fd6e4f --- /dev/null +++ b/multimedia/gstreamer-plugins80/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig Thu Jul 11 15:51:47 2002 ++++ configure Thu Jul 11 15:51:57 2002 +@@ -6731,6 +6731,7 @@ + + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++$ac_aux_dir/ltconfig $LIBTOOL_DEPS + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' diff --git a/multimedia/gstreamer-plugins80/files/patch-ext::flac::gstflacdec.c b/multimedia/gstreamer-plugins80/files/patch-ext::flac::gstflacdec.c new file mode 100644 index 000000000000..37a11fd7d5e3 --- /dev/null +++ b/multimedia/gstreamer-plugins80/files/patch-ext::flac::gstflacdec.c @@ -0,0 +1,83 @@ +--- ext/flac/gstflacdec.c.orig Thu Jul 11 21:35:29 2002 ++++ ext/flac/gstflacdec.c Thu Jul 11 21:44:42 2002 +@@ -74,10 +74,10 @@ + void *client_data); + static FLAC__StreamDecoderWriteStatus + gst_flacdec_write (const FLAC__SeekableStreamDecoder *decoder, +- const FLAC__Frame *frame, const FLAC__int32 *buffer[], ++ const FLAC__Frame *frame, const FLAC__int32 * const buffer[], + void *client_data); + static void gst_flacdec_metadata_callback (const FLAC__SeekableStreamDecoder *decoder, +- const FLAC__StreamMetaData *metadata, ++ const FLAC__StreamMetadata *metadata, + void *client_data); + static void gst_flacdec_error_callback (const FLAC__SeekableStreamDecoder *decoder, + FLAC__StreamDecoderErrorStatus status, +@@ -152,7 +152,7 @@ + + static void + gst_flacdec_metadata_callback (const FLAC__SeekableStreamDecoder *decoder, +- const FLAC__StreamMetaData *metadata, void *client_data) ++ const FLAC__StreamMetadata *metadata, void *client_data) + { + FlacDec *flacdec; + +@@ -171,13 +171,13 @@ + flacdec = GST_FLACDEC (client_data); + + switch (status) { +- case FLAC__STREAM_DECODER_ERROR_LOST_SYNC: ++ case FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC: + error = "lost sync"; + break; +- case FLAC__STREAM_DECODER_ERROR_BAD_HEADER: ++ case FLAC__STREAM_DECODER_ERROR_STATUS_BAD_HEADER: + error = "bad header"; + break; +- case FLAC__STREAM_DECODER_ERROR_FRAME_CRC_MISMATCH: ++ case FLAC__STREAM_DECODER_ERROR_STATUS_FRAME_CRC_MISMATCH: + error = "CRC mismatch"; + break; + default: +@@ -271,6 +271,7 @@ + GST_DEBUG (0, "eos"); + flacdec->eos = TRUE; + if (avail == 0) { ++ gst_event_free (event); + return 0; + } + break; +@@ -301,7 +302,7 @@ + + static FLAC__StreamDecoderWriteStatus + gst_flacdec_write (const FLAC__SeekableStreamDecoder *decoder, const FLAC__Frame *frame, +- const FLAC__int32 *buffer[], void *client_data) ++ const FLAC__int32 * const buffer[], void *client_data) + { + FlacDec *flacdec; + GstBuffer *outbuf; +@@ -383,14 +384,14 @@ + } + else { + g_warning ("flacdec: invalid depth %d found\n", depth); +- return FLAC__STREAM_DECODER_WRITE_ABORT; ++ return FLAC__STREAM_DECODER_WRITE_STATUS_ABORT; + } + + flacdec->total_samples += samples; + + gst_pad_push (flacdec->srcpad, outbuf); + +- return FLAC__STREAM_DECODER_WRITE_CONTINUE; ++ return FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE; + } + + static void +@@ -554,6 +555,7 @@ + res = FALSE; + break; + } ++ gst_event_free (event); + return res; + } + 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; |