openbsd-ports/multimedia/xine-lib/patches/patch-src_demuxers_demux_qt_c
dcoppa 6b929c59fb - Get rid of the use of libtool's -tag=disable-static.
- Merge in a whole bunch of various fixes from upstream and add
  comments for the existing fixes which didn't have a comment in
  the patch.

From Brad; OK sthen@
2011-05-11 09:05:54 +00:00

27 lines
1.0 KiB
Plaintext

$OpenBSD: patch-src_demuxers_demux_qt_c,v 1.13 2011/05/11 09:05:54 dcoppa Exp $
Add f4v/f4a file extensions to the Qt demuxer.
--- src/demuxers/demux_qt.c.orig Sat Jul 24 18:21:31 2010
+++ src/demuxers/demux_qt.c Fri Apr 15 17:46:25 2011
@@ -3255,7 +3255,7 @@ static const char *get_identifier (demux_class_t *this
}
static const char *get_extensions (demux_class_t *this_gen) {
- return "mov qt qtl mp4 m4a m4b";
+ return "mov qt qtl mp4 m4a m4b f4a f4v";
}
static const char *get_mimetypes (demux_class_t *this_gen) {
@@ -3263,8 +3263,8 @@ static const char *get_mimetypes (demux_class_t *this_
"video/x-quicktime: mov,qt: Quicktime animation;"
"audio/x-m4a: m4a,m4b: MPEG-4 audio;"
"application/x-quicktimeplayer: qtl: Quicktime list;"
- "video/mp4: mp4,mpg4: MPEG-4 video;"
- "audio/mp4: mp4,mpg4: MPEG-4 audio;";
+ "video/mp4: f4v,mp4,mpg4: MPEG-4 video;"
+ "audio/mp4: f4a,mp4,mpg4: MPEG-4 audio;";
}
static void class_dispose (demux_class_t *this_gen) {