platform/upstream/gstreamer.git
14 years agoexamples: Dist header file for the Qt graphics view example
Götz Waschk [Tue, 23 Feb 2010 15:57:53 +0000 (16:57 +0100)]
examples: Dist header file for the Qt graphics view example

Fixes bug #610832.

14 years agooggdemux: use the chain begin_time instead of our counter
Wim Taymans [Tue, 23 Feb 2010 10:41:20 +0000 (11:41 +0100)]
oggdemux: use the chain begin_time instead of our counter

We update the passed begintime argument to narrow our search region in the
binary search. This means that it does not always contain the chain begin time
after a couple of bisects. Use the real chain->begin_time to bring the
granuletime to the time in the chain instead.

Fixes #610005

14 years agovideorate: tests: New unit tests for upstream caps nego
Thiago Santos [Fri, 19 Feb 2010 21:24:40 +0000 (18:24 -0300)]
videorate: tests: New unit tests for upstream caps nego

Adds unit tests that check videorate's upstream caps
negotiation works properly (put passthrough caps
first)

Fixes #608025

14 years agovideorate: Improve upstream negotiation
Thiago Santos [Wed, 27 Jan 2010 18:07:47 +0000 (15:07 -0300)]
videorate: Improve upstream negotiation

Put peer pad caps preferred framerates first, indicating
they are videorate's first choices, removing an unnecessary
conversion.

Fixes #608025

14 years agoplaybin2, playsink, subtitleoverlay: Set subtitle encoding properly
Sebastian Dröge [Sun, 21 Feb 2010 18:52:45 +0000 (19:52 +0100)]
playbin2, playsink, subtitleoverlay: Set subtitle encoding properly

For this add subtitle encoding properties to playsink and subtitleoverlay
and update the values in the containing elements.

Also update the font description in textoverlay or the used renderer
element if it is changed during playback.

Fixes bug #610310.

14 years agoexamples: also add sink detection and set title to qt examples
Stefan Kost [Mon, 22 Feb 2010 11:01:19 +0000 (13:01 +0200)]
examples: also add sink detection and set title to qt examples

Also set a title in the qt examples like it is now done in the gtk example.
Fix the newly added find_video_sink in the gtk example and add similar function
to the qt examples.

14 years agogitignore: ignore files in new example directroy
Stefan Kost [Fri, 19 Feb 2010 12:40:43 +0000 (14:40 +0200)]
gitignore: ignore files in new example directroy

14 years agomake: fix copy and paste error in git rules (audio<->video)
Stefan Kost [Wed, 17 Feb 2010 12:59:33 +0000 (14:59 +0200)]
make: fix copy and paste error in git rules (audio<->video)

14 years agoplaysink: Ghost the video sinkpad if a text sinkpad is available
Sebastian Dröge [Fri, 19 Feb 2010 16:44:18 +0000 (17:44 +0100)]
playsink: Ghost the video sinkpad if a text sinkpad is available

Only don't ghost it if no visualizations are need and if
no text is needed and no textchain was created yet.

Fixes bug #610379.

14 years ago0.10.26.2 pre-release
Tim-Philipp Müller [Fri, 19 Feb 2010 00:22:13 +0000 (00:22 +0000)]
0.10.26.2 pre-release

14 years agopo: update translation files
Tim-Philipp Müller [Fri, 19 Feb 2010 00:20:02 +0000 (00:20 +0000)]
po: update translation files

14 years agoIgnore new overlay examples
Tim-Philipp Müller [Fri, 19 Feb 2010 00:17:51 +0000 (00:17 +0000)]
Ignore new overlay examples

14 years agoexamples: don't hard-code xvimagesink for Gtk+ GstXOverlay example
Tim-Philipp Müller [Thu, 18 Feb 2010 23:47:35 +0000 (23:47 +0000)]
examples: don't hard-code xvimagesink for Gtk+ GstXOverlay example

Try to find a working videosink, don't hardcode xvimagesink. Also
add some borders to window and give it a title so that it's clear
that this is really a Gtk+ window and not a window created by the
videosink.

14 years agotcp(client/server)src: Fix handling of closed sockets
David Schleef [Thu, 18 Feb 2010 19:42:55 +0000 (11:42 -0800)]
tcp(client/server)src: Fix handling of closed sockets

The peer closing the socket should cause an EOS, instead of
silently doing nothing.  This changes the behavior to be
more like fdsrc.  Fixes: #610386

14 years agortspconnection: make sure not to dereference NULL username or password
Patrick Radizi [Thu, 18 Feb 2010 12:42:53 +0000 (12:42 +0000)]
rtspconnection: make sure not to dereference NULL username or password

Fixes #610268.

14 years agotheoradec: Fix chroma copying for 4:2:2
David Schleef [Thu, 18 Feb 2010 05:22:54 +0000 (21:22 -0800)]
theoradec: Fix chroma copying for 4:2:2

Fix mixup of height/width, causing only half the chroma lines to
be copied when outputting buffers.  Fixes: #610329.

14 years agoexamples: add video overlay examples for gtk, qt and qt graphics view
Stefan Kost [Tue, 16 Feb 2010 13:43:26 +0000 (15:43 +0200)]
examples: add video overlay examples for gtk, qt and qt graphics view

Add simple videotestsrc ! xvimagesink examples using gtk and qt. This patch also
adds all boilerplate to configure for using c++. The qt based examples are
optional like their gtk counterparts.

14 years agodocs: cleanup library docs
Stefan Kost [Tue, 16 Feb 2010 15:20:01 +0000 (17:20 +0200)]
docs: cleanup library docs

Correct name of included files. Remove files that are not used anymore. Add many
new api entries to their sections.

14 years agotest-colorkey: remove the XInitThreads()
Stefan Kost [Mon, 15 Feb 2010 09:11:04 +0000 (11:11 +0200)]
test-colorkey: remove the XInitThreads()

We don't do this is any other example, this should be done for us in gdk it if
would be needed.

14 years agouridecodebin: use same message string for missing elements as in playbin
Tim-Philipp Müller [Tue, 16 Feb 2010 10:09:54 +0000 (10:09 +0000)]
uridecodebin: use same message string for missing elements as in playbin

Use the same translated message string for missing core elements as
playbin uses, which is a bit nicer and also indicates that there is
something wrong with the user's GStreamer installation (which arguably
is the case if elements like typefind or queue2 are missing).

14 years agotypefind: Handle stm module format
Kaj-Michael Lang [Mon, 8 Feb 2010 11:54:57 +0000 (13:54 +0200)]
typefind: Handle stm module format

Fixes #609314.

14 years agoivorbisdec: set rank to SECONDARY
Mark Nauwelaerts [Mon, 15 Feb 2010 11:10:10 +0000 (12:10 +0100)]
ivorbisdec: set rank to SECONDARY

14 years agovorbisdec: also support ivorbis tremor decoder
Mark Nauwelaerts [Mon, 15 Feb 2010 11:09:53 +0000 (12:09 +0100)]
vorbisdec: also support ivorbis tremor decoder

... which only needs a bit of refactoring and extracting to support
the minor difference in (i)vorbis interface.

Fixes #609063.

14 years agovorbisdec: reduce some hard-coding
Mark Nauwelaerts [Wed, 3 Feb 2010 13:37:43 +0000 (14:37 +0100)]
vorbisdec: reduce some hard-coding

... such as assuming float all over, and base src caps on template caps.

14 years agoplaybin: Fix the primary-decoder-missing test with USE_DECODEBIN2
Sebastian Dröge [Mon, 15 Feb 2010 09:23:13 +0000 (10:23 +0100)]
playbin: Fix the primary-decoder-missing test with USE_DECODEBIN2

14 years agooggparse: Fix another format string compiler warning
Sebastian Dröge [Mon, 15 Feb 2010 08:04:17 +0000 (09:04 +0100)]
oggparse: Fix another format string compiler warning

14 years agooggdemux: Fix format string compiler warnings
Sebastian Dröge [Mon, 15 Feb 2010 07:56:25 +0000 (08:56 +0100)]
oggdemux: Fix format string compiler warnings

14 years agoplaybin2: Post a missing element message and an error message if no uridecodebin...
Sebastian Dröge [Mon, 15 Feb 2010 07:48:58 +0000 (08:48 +0100)]
playbin2: Post a missing element message and an error message if no uridecodebin can be found

14 years agoplaysink: Post missing element messages if a core plugin is missing
Sebastian Dröge [Mon, 15 Feb 2010 07:46:26 +0000 (08:46 +0100)]
playsink: Post missing element messages if a core plugin is missing

And post a warning in cases where we can still continue to work
or an error when the missing element is fatal.

14 years agoplaybin2: Enable all unit tests
Sebastian Dröge [Mon, 15 Feb 2010 07:28:24 +0000 (08:28 +0100)]
playbin2: Enable all unit tests

They're all working and valgrind clean now.

14 years agodecodebin2: First post a missing-plugin message, then emit the unkown-type signal
Sebastian Dröge [Mon, 15 Feb 2010 07:26:05 +0000 (08:26 +0100)]
decodebin2: First post a missing-plugin message, then emit the unkown-type signal

This makes sure that there *always* is a missing plugin message in the bus
before any errors or warning messages.

14 years agouridecodebin: Missing decoder errors should be STREAM CODEC_NOT_FOUND
Sebastian Dröge [Mon, 15 Feb 2010 07:20:41 +0000 (08:20 +0100)]
uridecodebin: Missing decoder errors should be STREAM CODEC_NOT_FOUND

and not CORE MISSING_PLUGIN.

14 years agoplaybin2: Free the subtitle URI
Sebastian Dröge [Mon, 15 Feb 2010 07:18:06 +0000 (08:18 +0100)]
playbin2: Free the subtitle URI

14 years agouridecodebin: Post missing plugin messages if a required element can't be created
Sebastian Dröge [Mon, 15 Feb 2010 07:06:44 +0000 (08:06 +0100)]
uridecodebin: Post missing plugin messages if a required element can't be created

Especially if no suitable URI source can be found.

14 years agotests: Add decodebin2 test to .gitignore
Sebastian Dröge [Mon, 15 Feb 2010 05:50:29 +0000 (06:50 +0100)]
tests: Add decodebin2 test to .gitignore

14 years agodecodebin2: Set ghostpad targets to NULL when freeing a decode chain
Sebastian Dröge [Mon, 15 Feb 2010 00:18:55 +0000 (01:18 +0100)]
decodebin2: Set ghostpad targets to NULL when freeing a decode chain

Otherwise the ghostpad will still be linked to the peer and there
will still be a reference kept, leading to nothing being unlinked
and destroyed until decodebin2 is finalized.

This fixes reuse of decodebin2 if a raw stream is connected to
its sinkpad.

14 years agodecodebin2: Add simple unit test, mainly a copy of the decodebin unit test
Sebastian Dröge [Mon, 15 Feb 2010 00:17:49 +0000 (01:17 +0100)]
decodebin2: Add simple unit test, mainly a copy of the decodebin unit test

The only difference between the two unit tests right now is,
that the decodebin2 test resets the element to READY before trying
to reuse it instead of NULL. decodebin2 guarantees to be reusable
without going back to NULL.

14 years agoogg: theora PAR of 0:N, N:0 or 0:0 is allowed and maps to 1:1
Tim-Philipp Müller [Mon, 15 Feb 2010 00:11:17 +0000 (00:11 +0000)]
ogg: theora PAR of 0:N, N:0 or 0:0 is allowed and maps to 1:1

See #609252.

14 years agoAutomatic update of common submodule
Sebastian Dröge [Sun, 14 Feb 2010 22:16:32 +0000 (23:16 +0100)]
Automatic update of common submodule

From 96dc793 to 44ecce7

14 years agoplaybin2: Enable playbin2 unit test
Sebastian Dröge [Sun, 14 Feb 2010 22:10:06 +0000 (23:10 +0100)]
playbin2: Enable playbin2 unit test

It now contains a single working unit test and can be enabled.
The other more useful unit tests still need fixing.

14 years agoplaybin: Fix indention in the unit test
Sebastian Dröge [Sun, 14 Feb 2010 21:16:31 +0000 (22:16 +0100)]
playbin: Fix indention in the unit test

14 years agovolume: Replace this variables by self
Sebastian Dröge [Sat, 13 Feb 2010 00:08:05 +0000 (01:08 +0100)]
volume: Replace this variables by self

14 years agoplaysink: Reset the sink's state to NULL before unreffing it unless it's the same...
Josep Torra Valles [Fri, 12 Feb 2010 18:43:13 +0000 (19:43 +0100)]
playsink: Reset the sink's state to NULL before unreffing it unless it's the same instance again

This makes sure that we don't destroy the last reference before the
element gets back to NULL state. Fixes assertion failures if a playbin2
instance is reused but different sinks are automatically chosen because
of different caps.

14 years agoappsrc: fix Since tag
Wim Taymans [Fri, 12 Feb 2010 17:00:40 +0000 (18:00 +0100)]
appsrc: fix Since tag

14 years agoriff: treat JUNQ chunks like JUNK chunks
Tim-Philipp Müller [Fri, 12 Feb 2010 14:19:33 +0000 (14:19 +0000)]
riff: treat JUNQ chunks like JUNK chunks

14 years agoappsrc: Update basesrc segment duration and post duration messages from the streaming...
Sebastian Dröge [Fri, 12 Feb 2010 13:29:18 +0000 (14:29 +0100)]
appsrc: Update basesrc segment duration and post duration messages from the streaming thread

14 years agotags: improve docs about determining the encoding
Stefan Kost [Thu, 11 Feb 2010 12:10:02 +0000 (14:10 +0200)]
tags: improve docs about determining the encoding

14 years agocomment: fix wrong header comment
Stefan Kost [Thu, 11 Feb 2010 12:09:05 +0000 (14:09 +0200)]
comment: fix wrong header comment

14 years agoriff: add a variant of the JUNK tag that several adobe products produce
Stefan Kost [Mon, 1 Feb 2010 11:50:14 +0000 (13:50 +0200)]
riff: add a variant of the JUNK tag that several adobe products produce

JUNQ has same semantics as JUNK.

14 years agoappsrc: add min-percent property
Wim Taymans [Mon, 1 Feb 2010 18:01:33 +0000 (19:01 +0100)]
appsrc: add min-percent property

Emit need-data when the amount of data in the internal queue drops below
min-percent.

Fixes #608309

14 years agoappsrc: cleanups
Wim Taymans [Mon, 1 Feb 2010 17:56:34 +0000 (18:56 +0100)]
appsrc: cleanups

Avoid some typechecks.
Avoid dereferencing appsrc->priv all the time.

14 years agoappsink: cleanups
Wim Taymans [Mon, 1 Feb 2010 17:55:39 +0000 (18:55 +0100)]
appsink: cleanups

Avoid some typecasting.
Avoid dereferencing appsink->priv all the time.

14 years agouridecodebin: avoid some typecasts
Wim Taymans [Mon, 1 Feb 2010 14:09:56 +0000 (15:09 +0100)]
uridecodebin: avoid some typecasts

14 years agortsp: ignore \n and \r as the first line
Wim Taymans [Fri, 29 Jan 2010 15:34:44 +0000 (16:34 +0100)]
rtsp: ignore \n and \r as the first line

Be more forgiving for bad servers and ignore \r and \n when we are looking for
the response/request line.

See #608417

14 years agortsp: fail gracefully on bad Content-Length headers
Wim Taymans [Wed, 10 Feb 2010 15:05:29 +0000 (16:05 +0100)]
rtsp: fail gracefully on bad Content-Length headers

Be careful when allocating the amount of bytes specified in the Content-Length
because it can be an insanely huge value. Try to allocate the memory but fail
gracefully with a nice error when the allocation failed.

14 years agoffmpegcolorspace: Add conversions from all ARGB formats to AYUV and back
Sebastian Dröge [Wed, 10 Feb 2010 09:12:18 +0000 (10:12 +0100)]
ffmpegcolorspace: Add conversions from all ARGB formats to AYUV and back

14 years agoappsrc: Update segment duration and post a duration message if the duration changes
Sebastian Dröge [Tue, 9 Feb 2010 16:39:21 +0000 (17:39 +0100)]
appsrc: Update segment duration and post a duration message if the duration changes

Fixes bug #609423.

14 years agobuild: link to libm in examples that use it
Benjamin Otte [Thu, 11 Feb 2010 09:56:17 +0000 (10:56 +0100)]
build: link to libm in examples that use it

This fixes build failure in Fedora 13.

14 years agoUpdate MAINTAINERS, add myself
Tim-Philipp Müller [Thu, 11 Feb 2010 01:11:30 +0000 (01:11 +0000)]
Update MAINTAINERS, add myself

14 years agoconfigure: back to development
Tim-Philipp Müller [Thu, 11 Feb 2010 23:57:38 +0000 (23:57 +0000)]
configure: back to development

Slushy freeze remains in effect.

14 years agoRelease 0.10.26
Tim-Philipp Müller [Wed, 10 Feb 2010 20:17:36 +0000 (20:17 +0000)]
Release 0.10.26

14 years agoUpdate .po files
Tim-Philipp Müller [Wed, 10 Feb 2010 20:16:37 +0000 (20:16 +0000)]
Update .po files

14 years agotheoradec: PARs of 0:x, x:0 and 0:0 are all allowed and map to 1:1
Benjamin M. Schwartz [Mon, 8 Feb 2010 10:21:35 +0000 (11:21 +0100)]
theoradec: PARs of 0:x, x:0 and 0:0 are all allowed and map to 1:1

Fixes #609252.

14 years agooggdemux: use the default granpos functions for kate streams
Vincent Penquerc'h [Sun, 24 Jan 2010 12:31:04 +0000 (12:31 +0000)]
oggdemux: use the default granpos functions for kate streams

Set timestamps on kate packets. See bug #600929.

14 years ago0.10.25.3 pre-release
Tim-Philipp Müller [Fri, 5 Feb 2010 01:18:43 +0000 (01:18 +0000)]
0.10.25.3 pre-release

14 years agopo: update translations
Tim-Philipp Müller [Thu, 4 Feb 2010 18:52:59 +0000 (18:52 +0000)]
po: update translations

14 years agoRevert "playbin2: Only allow to set the URIs in states <= READY or from an about...
Tim-Philipp Müller [Thu, 4 Feb 2010 18:32:48 +0000 (18:32 +0000)]
Revert "playbin2: Only allow to set the URIs in states <= READY or from an about-to-finish signal handler"

This reverts commit 7335ce5d3e03c126a417a721571cb6f3af136ecf.

Support abusing the uri property to configure the next uri to play
outside of the about-to-finish handler for the time being after all.
We also shouldn't use thread private structures for this, since it
should be possible to block the thread that emitted about-to-finish
while the main thread sets the uri property. See #607226.

14 years agooggdemux: Don't leak allocated buffers
Sebastian Dröge [Tue, 2 Feb 2010 09:18:05 +0000 (10:18 +0100)]
oggdemux: Don't leak allocated buffers

This can happen if the combined flow return is not OK although the
allocation succeeded or if the packet in question is a BOS and we're
not going to push headers.

Fixes bug #608699.

14 years agouridecodebin: clean up decodebin properties
Wim Taymans [Mon, 1 Feb 2010 10:44:34 +0000 (11:44 +0100)]
uridecodebin: clean up decodebin properties

When reusing a decodebin2 element, clear the properties we might have changed,
to their default values or else we might end up with old configuration.

Fixes #608484

14 years agoplaybin2: when no uri is set, post an error message
Tim-Philipp Müller [Fri, 29 Jan 2010 13:56:05 +0000 (13:56 +0000)]
playbin2: when no uri is set, post an error message

When no uri is set, don't just return STATE_CHANGE_FAILURE from the
state change function, but actually post an error message.

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Sat, 30 Jan 2010 15:18:13 +0000 (15:18 +0000)]
Automatic update of common submodule

From 15d47a6 to 96dc793

14 years agoadder: don't hold object lock when calling peer elements
Wim Taymans [Thu, 28 Jan 2010 16:12:34 +0000 (17:12 +0100)]
adder: don't hold object lock when calling peer elements

Do not hold the object lock while we call methods on peer elements as this can
lead to deadlocks.

Fixes #608179

14 years ago0.10.25.2 pre-release
Tim-Philipp Müller [Wed, 27 Jan 2010 01:12:49 +0000 (01:12 +0000)]
0.10.25.2 pre-release

14 years agowin32: update generated files for non-autotools win32 builds
Tim-Philipp Müller [Wed, 27 Jan 2010 01:07:55 +0000 (01:07 +0000)]
win32: update generated files for non-autotools win32 builds

14 years agopo: update translation files
Tim-Philipp Müller [Wed, 27 Jan 2010 00:56:00 +0000 (00:56 +0000)]
po: update translation files

14 years agoaudiosrc: add gratuitious FIXME for use of generic G_TYPE_POINTER type
Tim-Philipp Müller [Wed, 27 Jan 2010 00:41:24 +0000 (00:41 +0000)]
audiosrc: add gratuitious FIXME for use of generic G_TYPE_POINTER type

14 years agodecodebin2: Don't skip an element when getting the topology
Edward Hervey [Tue, 26 Jan 2010 15:47:40 +0000 (16:47 +0100)]
decodebin2: Don't skip an element when getting the topology

Fixes #608167

14 years agooggdemux: sparse streams aren't timed by end time, and their duration isn't implicit
Vincent Penquerc'h [Sun, 24 Jan 2010 14:41:44 +0000 (14:41 +0000)]
oggdemux: sparse streams aren't timed by end time, and their duration isn't implicit

Fixes timestamps and durations on Kate subtitle streams.

See http://www.xiph.org/ogg/doc/ogg-multiplex.html section 'start-time and
end-time positioning' for some more details, and bug #600929.

14 years agooggdemux: properly set up the media type for kate streams
Vincent Penquerc'h [Sat, 23 Jan 2010 20:15:08 +0000 (20:15 +0000)]
oggdemux: properly set up the media type for kate streams

See #600929.

14 years agosubtitleoverlay: relax caps template on sink pads
Julien Moutte [Mon, 25 Jan 2010 17:57:52 +0000 (18:57 +0100)]
subtitleoverlay: relax caps template on sink pads

Allow any caps on sink pad templates as we could do passthrough with non raw
video caps.

14 years agooggdemux: use right type for the serialno
Wim Taymans [Mon, 25 Jan 2010 14:14:56 +0000 (15:14 +0100)]
oggdemux: use right type for the serialno

Use a consistent type for the serialno to avoid problems when comparing between
signed and unsigned variants.

Fixes #607926

14 years agooggdemux: don't push headers twice
Wim Taymans [Mon, 25 Jan 2010 13:00:52 +0000 (14:00 +0100)]
oggdemux: don't push headers twice

Don't push the stream headers twice but only in the activation of a chain.

Fixes #607929

14 years agoMerge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-base
Wim Taymans [Mon, 25 Jan 2010 12:18:18 +0000 (13:18 +0100)]
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-base

14 years agooggdemux: rename a variable
Wim Taymans [Mon, 25 Jan 2010 11:31:24 +0000 (12:31 +0100)]
oggdemux: rename a variable

Rename the 'seekable' variable to 'pullmode'. We might be able to seek in push
mode too eventually.

14 years agoRevert "inputselector: Protect g_object_notify() with the object's mutex"
Sebastian Dröge [Mon, 25 Jan 2010 11:22:17 +0000 (12:22 +0100)]
Revert "inputselector: Protect g_object_notify() with the object's mutex"

This reverts commit a37426c41c80fd21e5017fea01a786c05bcd9661, it's
causing deadlocks with playbin2.

14 years agoinputselector: Protect g_object_notify() with the object's mutex
Kipp Cannon [Sun, 24 Jan 2010 19:55:26 +0000 (20:55 +0100)]
inputselector: Protect g_object_notify() with the object's mutex

This works around the thread unsafety of g_object_notify()

Fixes bug #607513.

14 years agotypefindfunctions: Add typefinder for ISO MP4 files
Sebastian Dröge [Sun, 24 Jan 2010 19:46:58 +0000 (20:46 +0100)]
typefindfunctions: Add typefinder for ISO MP4 files

Fixes bug #607848.

14 years agooggdemux: fix crash when freeing headers
Tim-Philipp Müller [Sun, 24 Jan 2010 13:29:07 +0000 (13:29 +0000)]
oggdemux: fix crash when freeing headers

Use _ogg_packet_free() instead of gst_mini_object_unref in one more
place now that the header list contains ogg packets and not buffers.

file: Stephen_Fry-Happy_Birthday_GNU-nq_600px_425kbit.ogv

14 years agooggdemux: Strip trailing \0 for subtitle OGM streams
Sebastian Dröge [Sun, 24 Jan 2010 07:57:13 +0000 (08:57 +0100)]
oggdemux: Strip trailing \0 for subtitle OGM streams

Fixes bug #607870.

14 years agooggdemux: Correctly set DELTA_UNIT flag for OGM streams
Sebastian Dröge [Sat, 23 Jan 2010 21:09:45 +0000 (22:09 +0100)]
oggdemux: Correctly set DELTA_UNIT flag for OGM streams

14 years agooggdemux: Don't strip all 0-bytes from the end of OGM packets
Sebastian Dröge [Sat, 23 Jan 2010 21:05:40 +0000 (22:05 +0100)]
oggdemux: Don't strip all 0-bytes from the end of OGM packets

This fixes broken packets pushed downstream by oggdemux for
MPEG4 streams for example.

14 years agooggdemux: Extract tags from OGM text streams and don't push them downstream
Sebastian Dröge [Sat, 23 Jan 2010 21:03:18 +0000 (22:03 +0100)]
oggdemux: Extract tags from OGM text streams and don't push them downstream

14 years agooggdemux: Store header/queued packets as ogg_packet and use normal peer chaining...
Sebastian Dröge [Sat, 23 Jan 2010 13:46:19 +0000 (14:46 +0100)]
oggdemux: Store header/queued packets as ogg_packet and use normal peer chaining functions to pass them downstream

14 years agotypefinding: optimise AC-3 typefinder a bit
Tim-Philipp Müller [Sat, 23 Jan 2010 15:25:42 +0000 (15:25 +0000)]
typefinding: optimise AC-3 typefinder a bit

Make AC-3 typefinder use the DataScanCtx stuff so we don't have to
do gst_type_find_peek() in the inner loop all the time. Also return
when we've suggested AC3 caps, instead of continuing with the loop.

14 years agoRevert "typefind: Reduce number of calls to gst_type_find_peek."
Tim-Philipp Müller [Sat, 23 Jan 2010 14:31:15 +0000 (14:31 +0000)]
Revert "typefind: Reduce number of calls to gst_type_find_peek."

This reverts commit c661bfaa991c58f1fbd9fbc0dae90b8b2c27f92b.

This breaks AC-3 typefinding for all cases where the first frame
is at an offset > 0.

14 years agopbutils: Add description for Zip Block Motion Video
Edward Hervey [Sat, 23 Jan 2010 14:35:05 +0000 (15:35 +0100)]
pbutils: Add description for Zip Block Motion Video

14 years agoriff: Add mapping for Zip Block Motion Video
Edward Hervey [Sat, 23 Jan 2010 14:34:54 +0000 (15:34 +0100)]
riff: Add mapping for Zip Block Motion Video

14 years agoriff: YUNV is a fourcc which is also used for YUY2 raw video
Edward Hervey [Sat, 23 Jan 2010 14:26:37 +0000 (15:26 +0100)]
riff: YUNV is a fourcc which is also used for YUY2 raw video

14 years agoriff: vp61 and VP61 are also valid On2 VP6 fourcc
Edward Hervey [Sat, 23 Jan 2010 14:13:45 +0000 (15:13 +0100)]
riff: vp61 and VP61 are also valid On2 VP6 fourcc

14 years agoriff: Add mapping for On2 VP5
Edward Hervey [Sat, 23 Jan 2010 14:10:45 +0000 (15:10 +0100)]
riff: Add mapping for On2 VP5