gst-libs/gst/riff/riff-media.c: Add DIB fourcc (raw, palettized 8-bit RGB).
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Sat, 2 Oct 2004 14:10:19 +0000 (14:10 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Sat, 2 Oct 2004 14:10:19 +0000 (14:10 +0000)
commitda9c8309164aeeb9782e0c4640b18fc39f4b09f7
treea8f381621a3823828cb1e9124d2887ccfa28d84f
parent6313a27c7187ec89542b5bb6d6b9cae67917a1f7
gst-libs/gst/riff/riff-media.c: Add DIB fourcc (raw, palettized 8-bit RGB).

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_video_template_caps):
Add DIB fourcc (raw, palettized 8-bit RGB).
* gst-libs/gst/riff/riff-read.c:
(gst_riff_read_strf_vids_with_data):
Oops, fix strf_data reading bug.
* gst/avi/gstavidemux.c: (gst_avi_demux_add_stream):
Use a non-NULL tag.
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak):
Time for hacks. Sorry Dave. At least one quicktime movie (a
trailer) that I've encountered contains multiple video tracks.
One of those is the actual video track, the other are one-frame
tracks (images). Unfortunately, the number of frames according
to the trak header is 1 for each, so that doesn't help. So
instead, I look at the duration and discard tracks with a
duration shorter than 20% of the length of the stream. Better
than nothing.
ChangeLog
gst-libs/gst/riff/riff-media.c
gst-libs/gst/riff/riff-read.c
gst/qtdemux/qtdemux.c