platform/upstream/gst-plugins-base.git
14 years agodocs: update introspected plugin docs for gstdoc-scangobj and other changes
Tim-Philipp Müller [Thu, 17 Jun 2010 15:06:53 +0000 (16:06 +0100)]
docs: update introspected plugin docs for gstdoc-scangobj and other changes

Update common for latest gstdoc-scangobj and inspect xml files for
escaping and pad template order changes. Update other gtk-doc files
for API additions and object hierarchy changes.

14 years agodecodebin2: improve autoplugging
Wim Taymans [Wed, 16 Jun 2010 17:15:20 +0000 (19:15 +0200)]
decodebin2: improve autoplugging

Use the pad caps when they are available to continue the autoplugging. If the
pad caps are set, they are fixed and then we can directly continue autoplugging.

14 years agoAutomatic update of common submodule
Edward Hervey [Tue, 15 Jun 2010 14:49:17 +0000 (16:49 +0200)]
Automatic update of common submodule

From 9339ccc to 35617c2

14 years agoAutomatic update of common submodule
Stefan Kost [Tue, 15 Jun 2010 13:53:49 +0000 (16:53 +0300)]
Automatic update of common submodule

From 5adb1ca to 9339ccc

14 years agoAutomatic update of common submodule
Stefan Kost [Tue, 15 Jun 2010 13:34:54 +0000 (16:34 +0300)]
Automatic update of common submodule

From 57c89b7 to 5adb1ca

14 years agoAutomatic update of common submodule
Stefan Kost [Tue, 15 Jun 2010 12:32:34 +0000 (15:32 +0300)]
Automatic update of common submodule

From c804988 to 57c89b7

14 years agoRevert "audioresample: set pads as negotiable"
Edward Hervey [Tue, 15 Jun 2010 11:09:37 +0000 (13:09 +0200)]
Revert "audioresample: set pads as negotiable"

This reverts commit 5f74f3a82eb54f9a9517f99dffbe45ce4d474870.

14 years agoRevert "audioconvert: set pads negotiable"
Edward Hervey [Tue, 15 Jun 2010 11:09:29 +0000 (13:09 +0200)]
Revert "audioconvert: set pads negotiable"

This reverts commit bbd7dee8f604bd0373a82e6e5cc3eec8313806ac.

14 years agovideoscale: Fix black horizontal line in image
David Schleef [Mon, 14 Jun 2010 22:19:32 +0000 (15:19 -0700)]
videoscale: Fix black horizontal line in image

14 years agotag: xmp: Init char variable for gps coordinates
Thiago Santos [Mon, 14 Jun 2010 18:05:16 +0000 (15:05 -0300)]
tag: xmp: Init char variable for gps coordinates

Initialize char variable for gps coordinates deserialization to 0
to identify when it couldn't be parsed/found and error out.

Fixes #621509

14 years agoaudioconvert: set pads negotiable
Wim Taymans [Mon, 14 Jun 2010 16:10:52 +0000 (18:10 +0200)]
audioconvert: set pads negotiable

14 years agoaudioresample: set pads as negotiable
Wim Taymans [Mon, 14 Jun 2010 15:48:58 +0000 (17:48 +0200)]
audioresample: set pads as negotiable

14 years agoRevert accidental downgrade of common revision.
Tim-Philipp Müller [Mon, 14 Jun 2010 15:25:46 +0000 (16:25 +0100)]
Revert accidental downgrade of common revision.

14 years agovideoscale: And only expect a single buffer in the unit test
Sebastian Dröge [Mon, 14 Jun 2010 14:07:21 +0000 (16:07 +0200)]
videoscale: And only expect a single buffer in the unit test

14 years agovideoscale: Only convert one buffer instead of five
Sebastian Dröge [Mon, 14 Jun 2010 14:02:13 +0000 (16:02 +0200)]
videoscale: Only convert one buffer instead of five

Should make the unit test a lot faster.

14 years agotypefindfunctions: Fix unitialized variables
Edward Hervey [Mon, 14 Jun 2010 12:13:32 +0000 (14:13 +0200)]
typefindfunctions: Fix unitialized variables

yay macosx compilers :(

14 years agovideo: Fix unitialized variable.
Edward Hervey [Mon, 14 Jun 2010 12:13:16 +0000 (14:13 +0200)]
video: Fix unitialized variable.

yay macosx compilers :(

14 years agoffmpegcolorspace: Use Quarks for structure name/field checking
Edward Hervey [Mon, 14 Jun 2010 11:27:01 +0000 (13:27 +0200)]
ffmpegcolorspace: Use Quarks for structure name/field checking

14 years agoffmpegcolorspace: Speed up _remove_format_info
Edward Hervey [Mon, 14 Jun 2010 11:26:02 +0000 (13:26 +0200)]
ffmpegcolorspace: Speed up _remove_format_info

Instead of copying full caps, use the fact that the provided caps only have
one structure and only copy around structures.

14 years agoffmpegcolorspace: Transfer structures instead of copying them
Edward Hervey [Mon, 14 Jun 2010 11:24:06 +0000 (13:24 +0200)]
ffmpegcolorspace: Transfer structures instead of copying them

Avoids many expensive structure copies

14 years agoconfigure: Use GLIB_EXTRA_CFLAGS
Sebastian Dröge [Mon, 14 Jun 2010 11:20:53 +0000 (13:20 +0200)]
configure: Use GLIB_EXTRA_CFLAGS

14 years agoAutomatic update of common submodule
Sebastian Dröge [Mon, 14 Jun 2010 11:02:59 +0000 (13:02 +0200)]
Automatic update of common submodule

From 7a0fdf5 to c804988

14 years agoAutomatic update of common submodule
Sebastian Dröge [Mon, 14 Jun 2010 09:31:09 +0000 (11:31 +0200)]
Automatic update of common submodule

From 6da3bab to 7a0fdf5

14 years agojsseek: Don't use deprecated GLib API
Sebastian Dröge [Mon, 14 Jun 2010 09:20:00 +0000 (11:20 +0200)]
jsseek: Don't use deprecated GLib API

Fixes once again bug #605100.

14 years agodecodebin2: use accumulator for autoplug-sort
Prahal [Mon, 14 Jun 2010 09:16:45 +0000 (11:16 +0200)]
decodebin2: use accumulator for autoplug-sort

Use an accumulator for the autoplug-sort signal so that we can stop the emission
when a signal handler produced a valid result. This avoids the object handler
to overwrite the results from user signals.

Fixes #621161

14 years agooggdemux: activate_chain must not be called with a NULL chain
Sebastian Dröge [Mon, 14 Jun 2010 09:11:56 +0000 (11:11 +0200)]
oggdemux: activate_chain must not be called with a NULL chain

It will crash later and shouldn't really happen anyway unless
something is really wrong.

14 years agognomevfssrc: Fix possible NULL pointer dereference
Sebastian Dröge [Mon, 14 Jun 2010 09:08:10 +0000 (11:08 +0200)]
gnomevfssrc: Fix possible NULL pointer dereference

It's always an error if gst_buffer_try_new_and_alloc() returns NULL

14 years agoappsrc: Return FALSE from the seek handler if no seek callback was set
Sebastian Dröge [Mon, 14 Jun 2010 09:03:50 +0000 (11:03 +0200)]
appsrc: Return FALSE from the seek handler if no seek callback was set

14 years agogiostreamsrc: Fix copy&paste error in the docs
Sebastian Dröge [Mon, 14 Jun 2010 07:53:07 +0000 (09:53 +0200)]
giostreamsrc: Fix copy&paste error in the docs

14 years agoogg: fix debug message printf format some more
Tim-Philipp Müller [Sun, 13 Jun 2010 23:33:04 +0000 (00:33 +0100)]
ogg: fix debug message printf format some more

Just cast the pointer diff, so it works everywhere without
warnings. Can't use %tu, because that modifier is C99. Warning
was: "format '%li' expects type 'long int', but argument 8 has
type 'int'".

14 years agovideoscale: Add ffmpegcolorspace after videotestsrc for the unit test
Sebastian Dröge [Sun, 13 Jun 2010 20:17:18 +0000 (22:17 +0200)]
videoscale: Add ffmpegcolorspace after videotestsrc for the unit test

14 years agovideoscale: ...and add Y16 case for the linear scaling
Sebastian Dröge [Sun, 13 Jun 2010 18:57:19 +0000 (20:57 +0200)]
videoscale: ...and add Y16 case for the linear scaling

14 years agovideoscale: Add Y16 case for 4-tap scaling
Sebastian Dröge [Sun, 13 Jun 2010 18:38:23 +0000 (20:38 +0200)]
videoscale: Add Y16 case for 4-tap scaling

14 years agotests: Fix linking of the tags test
Sebastian Dröge [Sun, 13 Jun 2010 16:27:19 +0000 (18:27 +0200)]
tests: Fix linking of the tags test

14 years agovideo: Re-add (but deprecated) GST_VIDEO_{RED,GREEN,BLUE}_MASK_1[56]
Sebastian Dröge [Sun, 13 Jun 2010 06:20:13 +0000 (08:20 +0200)]
video: Re-add (but deprecated) GST_VIDEO_{RED,GREEN,BLUE}_MASK_1[56]

14 years agovideoscale: Use correct variables for debug output
Sebastian Dröge [Sat, 12 Jun 2010 19:04:48 +0000 (21:04 +0200)]
videoscale: Use correct variables for debug output

14 years agoffmpegcolorspace: Fix Y16 from/to GRAY8 conversion
Sebastian Dröge [Sat, 12 Jun 2010 14:51:41 +0000 (16:51 +0200)]
ffmpegcolorspace: Fix Y16 from/to GRAY8 conversion

14 years agoffmpegcolorspace: Don't crash when doing gray YUV to GRAY conversion
Sebastian Dröge [Sat, 12 Jun 2010 14:31:49 +0000 (16:31 +0200)]
ffmpegcolorspace: Don't crash when doing gray YUV to GRAY conversion

14 years agovideoscale: Update disted orc files
Sebastian Dröge [Sat, 12 Jun 2010 14:23:23 +0000 (16:23 +0200)]
videoscale: Update disted orc files

14 years agouridecodebin: Allow video/webm for progressive downloading
Sebastian Dröge [Sat, 12 Jun 2010 14:16:37 +0000 (16:16 +0200)]
uridecodebin: Allow video/webm for progressive downloading

14 years agovideoscale: Add support for more gray formats
Sebastian Dröge [Sat, 12 Jun 2010 11:59:32 +0000 (13:59 +0200)]
videoscale: Add support for more gray formats

14 years agovideo.{c,h}: Fix an endianness bug fix.
Martin Bisson [Tue, 1 Jun 2010 16:45:34 +0000 (16:45 +0000)]
video.{c,h}: Fix an endianness bug fix.

This commit makes sure the endianness is ok for RGB/BGR 15/16 formats.

14 years agovideo.{c,h}: Add support for RGB and BGR with 15 and 16 bits.
Martin Bisson [Tue, 1 Jun 2010 14:42:54 +0000 (14:42 +0000)]
video.{c,h}: Add support for RGB and BGR with 15 and 16 bits.

14 years agovideoscale: Use libgstvideo for caps parsing, etc
Sebastian Dröge [Sat, 12 Jun 2010 11:35:47 +0000 (13:35 +0200)]
videoscale: Use libgstvideo for caps parsing, etc

14 years agooggdemux: Fix format string compiler warning on OS X
Philippe Normand [Sat, 12 Jun 2010 11:04:43 +0000 (13:04 +0200)]
oggdemux: Fix format string compiler warning on OS X

14 years agovideoscale: Use GST_VIDEO_CAPS_GRAY{8,16}
Sebastian Dröge [Sat, 12 Jun 2010 11:00:26 +0000 (13:00 +0200)]
videoscale: Use GST_VIDEO_CAPS_GRAY{8,16}

14 years agovideoscale: Implement linear merging of Y16 scanlines with orc
Sebastian Dröge [Sat, 12 Jun 2010 10:57:14 +0000 (12:57 +0200)]
videoscale: Implement linear merging of Y16 scanlines with orc

14 years agoAutomatic update of common submodule
Sebastian Dröge [Sat, 12 Jun 2010 06:26:27 +0000 (08:26 +0200)]
Automatic update of common submodule

From 733fca9 to 6da3bab

14 years agocdparanoia: check for cdparanoia with pkg-config first
Tim-Philipp Müller [Fri, 11 Jun 2010 21:16:26 +0000 (22:16 +0100)]
cdparanoia: check for cdparanoia with pkg-config first

cdparanoia now has a .pc file in post-0.10.2 SVN, so use
that to check for cdparanoia before we try all the other
checks. Besides being generally nicer, this may help with
correctly detecting cdparanoia on OSX some day (see #609918).

14 years agotypefinding: look for dts frames at non-zero offsets too
Tim-Philipp Müller [Fri, 11 Jun 2010 11:34:24 +0000 (12:34 +0100)]
typefinding: look for dts frames at non-zero offsets too

Scan a bit into the data when checking for dts frames instead
of expecting the frame sync to be right at the start of the
data. This is needed for some dts-disguised-as-pcm-in-wav files.

See #413942.

14 years agotypefinding: add typefinder for dts audio
Tim-Philipp Müller [Thu, 10 Jun 2010 17:12:37 +0000 (18:12 +0100)]
typefinding: add typefinder for dts audio

14 years agogstexiftag: Fix unitialized variables
Edward Hervey [Fri, 11 Jun 2010 13:23:14 +0000 (15:23 +0200)]
gstexiftag: Fix unitialized variables

I hate thee macosx

14 years agogstexiftag: Fix debug statements
Edward Hervey [Fri, 11 Jun 2010 06:47:27 +0000 (08:47 +0200)]
gstexiftag: Fix debug statements

14 years agoexiftag: Fix unitialized variable
Edward Hervey [Fri, 11 Jun 2010 06:47:17 +0000 (08:47 +0200)]
exiftag: Fix unitialized variable

14 years agowin32: update def file
Stefan Kost [Thu, 10 Jun 2010 17:45:42 +0000 (20:45 +0300)]
win32: update def file

14 years agodocs: fix gtk-doc warnings
Stefan Kost [Thu, 10 Jun 2010 17:36:32 +0000 (20:36 +0300)]
docs: fix gtk-doc warnings

Variable names in function prototypes in the headers should match the doc-
comment.

14 years agoplaybin2: If the text-sink claims to support ANY caps assume it only support raw...
Sebastian Dröge [Thu, 10 Jun 2010 06:47:17 +0000 (08:47 +0200)]
playbin2: If the text-sink claims to support ANY caps assume it only support raw plaintext subtitles

Fixes bug #621071.

14 years agoicles: Only accept plain subtitles in the playbin-text icles test
Sebastian Dröge [Thu, 10 Jun 2010 06:46:50 +0000 (08:46 +0200)]
icles: Only accept plain subtitles in the playbin-text icles test

14 years agoriff: Add support for VP6F (On2 VP6 Flash variant)
Edward Hervey [Wed, 9 Jun 2010 20:34:24 +0000 (22:34 +0200)]
riff: Add support for VP6F (On2 VP6 Flash variant)

14 years agoUse the Orc m4 macro
David Schleef [Wed, 9 Jun 2010 19:35:40 +0000 (12:35 -0700)]
Use the Orc m4 macro

14 years agoAutomatic update of common submodule
David Schleef [Wed, 9 Jun 2010 19:40:00 +0000 (12:40 -0700)]
Automatic update of common submodule

From fad145b to 733fca9

14 years agoAutomatic update of common submodule
David Schleef [Wed, 9 Jun 2010 19:33:51 +0000 (12:33 -0700)]
Automatic update of common submodule

From 47683c1 to fad145b

14 years agotag: exif: Refactor byte-order handling
Thiago Santos [Wed, 9 Jun 2010 18:58:32 +0000 (15:58 -0300)]
tag: exif: Refactor byte-order handling

Only check for valid byte-order values when creating the
exif readers and writers

14 years agotag: exif: Adds new geo-location tag mappings
Thiago Santos [Mon, 10 May 2010 17:01:46 +0000 (14:01 -0300)]
tag: exif: Adds new geo-location tag mappings

Adds mappings for:
GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION
GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION
GST_TAG_GEO_LOCATION_MOVEMENT_SPEED
GST_TAG_GEO_LOCATION_ELEVATION

Does some refactoring in the code to reduce number of parameters
passed to functions

Tests included.

14 years agotests: tag: Adds unit tests for exif helper lib
Thiago Santos [Mon, 5 Apr 2010 01:25:24 +0000 (22:25 -0300)]
tests: tag: Adds unit tests for exif helper lib

Adds some simple unit tests for exif helper lib functions

Fixes #614872

14 years agotag: Adds basic exif tags support
Thiago Santos [Sun, 4 Apr 2010 02:02:57 +0000 (23:02 -0300)]
tag: Adds basic exif tags support

Adds exif helper lib functions to parse exif buffers from/to
taglists. Exif is tipically used in jpeg images, but it can
also be embedded into TIFF, AVI and WAV formats.

Adds a couple function to handle exif in tiff header structures, that is how
exif is embedded in jpeg and (obviously) in tiff.

API: gst_tag_list_to_exif_buffer
API: gst_tag_list_to_exif_buffer_with_tiff_header
API: gst_tag_list_from_exif_buffer
API: gst_tag_list_from_exif_buffer_with_tiff_header

Fixes #614872

14 years agooggdemux: Handle SEEKING query in push mode too
Sebastian Dröge [Wed, 9 Jun 2010 15:02:59 +0000 (17:02 +0200)]
oggdemux: Handle SEEKING query in push mode too

14 years agooggdemux: Update the total time from the Skeleton 4 indexes
Sebastian Dröge [Wed, 9 Jun 2010 14:38:34 +0000 (16:38 +0200)]
oggdemux: Update the total time from the Skeleton 4 indexes

Fixes bug #620939, see bug #607945.

14 years agooggstream: Implement latest version of the Skeleton 4.0 spec
Sebastian Dröge [Wed, 9 Jun 2010 14:33:25 +0000 (16:33 +0200)]
oggstream: Implement latest version of the Skeleton 4.0 spec

Fixes bug #620939.

14 years agovolume: make the orc codes available for testing.
Stefan Kost [Wed, 9 Jun 2010 13:59:10 +0000 (16:59 +0300)]
volume: make the orc codes available for testing.

Add a USE_ORC define for now and switch 'this' to 'self'. Having orc enabled
passes the test suite and various manual gst-launch pipelines.

14 years ago.gitignore: add orc-related temp files
Tim-Philipp Müller [Tue, 8 Jun 2010 12:34:46 +0000 (13:34 +0100)]
.gitignore: add orc-related temp files

14 years agoFix build if orc is not installed
Tim-Philipp Müller [Tue, 8 Jun 2010 12:26:53 +0000 (13:26 +0100)]
Fix build if orc is not installed

Orc is not a hard requirement. Things should still compile and
work without orc, but slow fallback code may be used in this
case. Fix up configure to not error out if orc is not installed
and wrap use of orc profiling in audioresample in #ifdefs.

Fixes #620136 some more.

14 years agooggdemux: Implement correct parsing of Skeleton 4.0 index packets
Sebastian Dröge [Tue, 8 Jun 2010 11:11:05 +0000 (13:11 +0200)]
oggdemux: Implement correct parsing of Skeleton 4.0 index packets

14 years agooggdemux: Add parsing of Skeleton 4.0 indexes
Sebastian Dröge [Tue, 8 Jun 2010 10:01:15 +0000 (12:01 +0200)]
oggdemux: Add parsing of Skeleton 4.0 indexes

14 years agooggdemux: Parse segment length and content offset from fishead
Sebastian Dröge [Tue, 8 Jun 2010 09:40:32 +0000 (11:40 +0200)]
oggdemux: Parse segment length and content offset from fishead

And print them for debugging purposes. Not sure if we can do anything useful
with this information.

14 years agooggdemux: Parse Skeleton stream major/minor version
Sebastian Dröge [Tue, 8 Jun 2010 09:31:35 +0000 (11:31 +0200)]
oggdemux: Parse Skeleton stream major/minor version

14 years agooggdemux: Use binary search for searching in the index
Sebastian Dröge [Tue, 8 Jun 2010 09:26:26 +0000 (11:26 +0200)]
oggdemux: Use binary search for searching in the index

14 years agovideo: Fix unit test, the Y800 checks were not used before and were not working
Sebastian Dröge [Tue, 8 Jun 2010 09:02:08 +0000 (11:02 +0200)]
video: Fix unit test, the Y800 checks were not used before and were not working

14 years agovideo: Return TRUE in gst_video_format_is_gray() for Y800 and Y16
Sebastian Dröge [Tue, 8 Jun 2010 09:01:44 +0000 (11:01 +0200)]
video: Return TRUE in gst_video_format_is_gray() for Y800 and Y16

14 years agoaudioconvert, videotestsrc: Update generated Orc code
David Schleef [Tue, 8 Jun 2010 07:33:31 +0000 (00:33 -0700)]
audioconvert, videotestsrc: Update generated Orc code

Fixes compile errors with initialization of unions.

14 years agorequirements: change liboil to Orc
David Schleef [Tue, 8 Jun 2010 07:32:36 +0000 (00:32 -0700)]
requirements: change liboil to Orc

14 years agoaudioresample: convert from liboil to orc
David Schleef [Mon, 7 Jun 2010 06:50:05 +0000 (23:50 -0700)]
audioresample: convert from liboil to orc

14 years agotests: Add orc tests
David Schleef [Mon, 7 Jun 2010 06:48:35 +0000 (23:48 -0700)]
tests: Add orc tests

14 years agovolume: convert from liboil to orc
David Schleef [Mon, 7 Jun 2010 06:48:15 +0000 (23:48 -0700)]
volume: convert from liboil to orc

14 years agovideotestsrc: convert from liboil to orc
David Schleef [Mon, 7 Jun 2010 06:47:53 +0000 (23:47 -0700)]
videotestsrc: convert from liboil to orc

14 years agovideoscale: convert from liboil to orc
David Schleef [Mon, 7 Jun 2010 06:47:16 +0000 (23:47 -0700)]
videoscale: convert from liboil to orc

14 years agoaudioconvert: convert from liboil to orc
David Schleef [Mon, 7 Jun 2010 06:46:41 +0000 (23:46 -0700)]
audioconvert: convert from liboil to orc

14 years agoadder: convert from liboil to orc
David Schleef [Mon, 7 Jun 2010 06:45:58 +0000 (23:45 -0700)]
adder: convert from liboil to orc

14 years agodocs: Add notes about Orc integration
David Schleef [Mon, 7 Jun 2010 06:45:10 +0000 (23:45 -0700)]
docs: Add notes about Orc integration

14 years agoconfigure: convert liboil check to orc
David Schleef [Mon, 7 Jun 2010 06:34:39 +0000 (23:34 -0700)]
configure: convert liboil check to orc

14 years agooggmux: Start a new page for every CMML buffer
Sebastian Dröge [Tue, 8 Jun 2010 05:34:08 +0000 (07:34 +0200)]
oggmux: Start a new page for every CMML buffer

14 years agoplaybin2: add av-offset property
Wim Taymans [Mon, 7 Jun 2010 12:38:42 +0000 (14:38 +0200)]
playbin2: add av-offset property

Add av-offset property to control the audio and video sync offset. This can be
used to to manually correct badly synced streams.

See #620529

14 years agoffmpegcolorspace: Map "Y8 " and "GREY" to "Y800" and add it to the template caps
Sebastian Dröge [Mon, 7 Jun 2010 06:31:25 +0000 (08:31 +0200)]
ffmpegcolorspace: Map "Y8  " and "GREY" to "Y800" and add it to the template caps

14 years agoffmpegcolorspace: Add support for Y800 and Y16
Martin Bisson [Mon, 7 Jun 2010 06:17:13 +0000 (08:17 +0200)]
ffmpegcolorspace: Add support for Y800 and Y16

Fixes bug #620441.

14 years agovideo: Add support for Y800 and Y16
Martin Bisson [Mon, 7 Jun 2010 06:16:01 +0000 (08:16 +0200)]
video: Add support for Y800 and Y16

Fixes bug #620441.

14 years agotypefinding: fix log function printf format issue
Tim-Philipp Müller [Sun, 6 Jun 2010 15:46:55 +0000 (16:46 +0100)]
typefinding: fix log function printf format issue

14 years agotypefinding: stop jpeg typefinding once we found a SOF marker
Tim-Philipp Müller [Sat, 5 Jun 2010 17:14:38 +0000 (18:14 +0100)]
typefinding: stop jpeg typefinding once we found a SOF marker

14 years agotests: fix memory leak in unit test
Tim-Philipp Müller [Sat, 5 Jun 2010 17:05:40 +0000 (18:05 +0100)]
tests: fix memory leak in unit test

14 years agotypefinding: improve jpeg typefinder
Tim-Philipp Müller [Wed, 19 May 2010 14:40:30 +0000 (15:40 +0100)]
typefinding: improve jpeg typefinder

Make jpeg typefinder check more than just the first two bytes
plus Exif or JFIF marker. This allows us to report MAXIMUM
probability in cases where there's no Exif or JFIF marker,
making typefinding stop early. Also extract width and height,
because we can.

14 years agotests: add small unit test for AC3 vs. JPEG typefinding issue
Tim-Philipp Müller [Sat, 5 Jun 2010 16:22:17 +0000 (17:22 +0100)]
tests: add small unit test for AC3 vs. JPEG typefinding issue