platform/upstream/gstreamer.git
15 years agoUpdate .po files
Jan Schmidt [Wed, 17 Jun 2009 20:56:56 +0000 (21:56 +0100)]
Update .po files

15 years agocamerabin: reset filename after capture to avoid racy when capturing again
Stefan Kost [Tue, 16 Jun 2009 14:09:26 +0000 (17:09 +0300)]
camerabin: reset filename after capture to avoid racy when capturing again

If we don't reset the filename we cannot check if we still expect the filename
for a subsequent capture pass. The imagebin would good to paused and we set the
filename in that state. This trigers an error-message and would capture to the
old filename.

15 years agocamerabin: cleanups in the tests
Stefan Kost [Fri, 12 Jun 2009 07:29:20 +0000 (10:29 +0300)]
camerabin: cleanups in the tests

Sprinkle more logging to make it easier to follow. Specify a low framerate and
capture resolution to avoid tests timing out. Make the sinks sync to test closer
to reality. Fix Makefile to use uninstalled interface.

15 years agocamerabin: set imagebin to PAUSED on capture and delayed filename setting
Stefan Kost [Fri, 12 Jun 2009 07:26:30 +0000 (10:26 +0300)]
camerabin: set imagebin to PAUSED on capture and delayed filename setting

We need to set imagebin to PAUSED to not fail the bufferalloc. We also need to
keep the filesinks state locked until we have the filename for the run.

15 years agooutputselector: do the pad_alloc for the pad that is pending and have a fallback
Stefan Kost [Fri, 12 Jun 2009 07:14:27 +0000 (10:14 +0300)]
outputselector: do the pad_alloc for the pad that is pending and have a fallback

We should do the pad_alloc for the pending pad if any, as we will switch to that
pad on next _chain() call. Also do a fallback alloc, if there is no output yet to
not fail state transitions in dynamic pipelines.

15 years agowin32: Bump win32 config.h version number too
Jan Schmidt [Thu, 11 Jun 2009 15:00:36 +0000 (16:00 +0100)]
win32: Bump win32 config.h version number too

15 years ago0.10.12.3 pre-release
Jan Schmidt [Fri, 5 Jun 2009 21:43:50 +0000 (22:43 +0100)]
0.10.12.3 pre-release

15 years agoAdded base libs to debug utils makefile
LRN [Sat, 6 Jun 2009 17:28:27 +0000 (21:28 +0400)]
Added base libs to debug utils makefile

Fixes #585015

15 years agotests/metadata: Don't try tags we can't handle. Fixes #584945
Edward Hervey [Sun, 7 Jun 2009 08:55:59 +0000 (10:55 +0200)]
tests/metadata: Don't try tags we can't handle. Fixes #584945

15 years agohdvparse: Link against libm because we use pow().
Edward Hervey [Sat, 6 Jun 2009 17:28:07 +0000 (19:28 +0200)]
hdvparse: Link against libm because we use pow().

15 years agoexamples: Don't build the mxf example if GTK isn't present.
Jan Schmidt [Sat, 6 Jun 2009 12:53:04 +0000 (13:53 +0100)]
examples: Don't build the mxf example if GTK isn't present.

15 years agoapexsink: Fix compiler warnings
Jan Schmidt [Sat, 6 Jun 2009 12:17:49 +0000 (13:17 +0100)]
apexsink: Fix compiler warnings

Fix compile warnings on solaris from bzero not being declared (use
memset instead), and strict-aliasing warnings (use a temporary
variable).

15 years agoid3mux: init genre field in ID3v1 tag to an invalid number
Tim-Philipp Müller [Sat, 6 Jun 2009 01:35:35 +0000 (02:35 +0100)]
id3mux: init genre field in ID3v1 tag to an invalid number

So that it is not interpreted as 'Blues' if no genre is to be written.

15 years agoid3mux: don't write ID3v1 tag until specifically instructed to do so
Tim-Philipp Müller [Sat, 6 Jun 2009 00:05:49 +0000 (01:05 +0100)]
id3mux: don't write ID3v1 tag until specifically instructed to do so

ID3v1 tags are one of the most broken and ill-designed things that
exist on this planet. Let's not write them by default.

15 years agoid3mux: don't write empty ID3v1 tag
Tim-Philipp Müller [Fri, 5 Jun 2009 23:58:46 +0000 (00:58 +0100)]
id3mux: don't write empty ID3v1 tag

15 years agoid3tag: rename new id3tag element to id3mux replacing the one removed from -ugly
Tim-Philipp Müller [Fri, 5 Jun 2009 23:39:10 +0000 (00:39 +0100)]
id3tag: rename new id3tag element to id3mux replacing the one removed from -ugly

15 years agonsf: Fix compiler warning on Solaris.
Jan Schmidt [Fri, 5 Jun 2009 22:52:05 +0000 (23:52 +0100)]
nsf: Fix compiler warning on Solaris.

A SEC() macro already exists on Solaris, causing warnings about
redefining it.

15 years agohdvparse: Fix the build on Commander Thaytan's S10SP
Edward Hervey [Fri, 5 Jun 2009 20:20:46 +0000 (22:20 +0200)]
hdvparse: Fix the build on Commander Thaytan's S10SP

15 years agogitignore: Ignore shapewipe unit test binary
Jan Schmidt [Fri, 5 Jun 2009 18:53:09 +0000 (19:53 +0100)]
gitignore: Ignore shapewipe unit test binary

15 years agoMoved 'x264enc' from -bad to -ugly
Jan Schmidt [Fri, 5 Jun 2009 18:32:26 +0000 (19:32 +0100)]
Moved 'x264enc' from -bad to -ugly

15 years agocamerabin: fix link order
Stefan Kost [Fri, 5 Jun 2009 18:17:55 +0000 (21:17 +0300)]
camerabin: fix link order

Move local version up in the link order.

15 years agohdvparse: Emit a GST_MESSAGE_ELEMENT with some goodness in it.
Edward Hervey [Fri, 5 Jun 2009 18:22:17 +0000 (20:22 +0200)]
hdvparse: Emit a GST_MESSAGE_ELEMENT with some goodness in it.

15 years agompegvideoparse: Add methods to get names of various values.
Edward Hervey [Fri, 5 Jun 2009 08:49:41 +0000 (10:49 +0200)]
mpegvideoparse: Add methods to get names of various values.

15 years agompegtsdemux: Fix HDV private stream definition/caps.
Edward Hervey [Fri, 5 Jun 2009 08:48:52 +0000 (10:48 +0200)]
mpegtsdemux: Fix HDV private stream definition/caps.

15 years agohdvparse: Rewrite from scratch. Handle both hdv-a and hdv-v
Edward Hervey [Fri, 5 Jun 2009 08:47:41 +0000 (10:47 +0200)]
hdvparse: Rewrite from scratch. Handle both hdv-a and hdv-v

This time we analyze a lot more information.

Still need to re-add the message emission.

15 years agoceltenc: correct framesize range
Wim Taymans [Fri, 5 Jun 2009 14:48:04 +0000 (16:48 +0200)]
celtenc: correct framesize range

A CELT framesize can be between 64 and 512 samples.
Fix a typo in the bitrate property description.

15 years agocamerabin: preview image sending optimization
Lasse Laukkanen [Wed, 27 May 2009 08:33:01 +0000 (11:33 +0300)]
camerabin: preview image sending optimization

 * decouple image capturing from image post-processing and encoding
 * post image-captured message after image is captured
 * post preview-image message with snapshot of captured image

15 years agocamerabin: don't lose post processing element in first reset
Lasse Laukkanen [Tue, 19 May 2009 13:58:36 +0000 (16:58 +0300)]
camerabin: don't lose post processing element in first reset

15 years agocamerabin: add debug including dot graph writing
Lasse Laukkanen [Tue, 12 May 2009 09:49:33 +0000 (12:49 +0300)]
camerabin: add debug including dot graph writing

15 years agocamerabin: unblock if error occurs during capture
Lasse Laukkanen [Tue, 5 May 2009 11:19:46 +0000 (14:19 +0300)]
camerabin: unblock if error occurs during capture

15 years agocamerabin: ignore night mode handling if already in night mode
Lasse Laukkanen [Mon, 4 May 2009 07:33:18 +0000 (10:33 +0300)]
camerabin: ignore night mode handling if already in night mode

15 years agocamerabin: stop ongoing capture if changing resolution
Lasse Laukkanen [Mon, 4 May 2009 07:32:10 +0000 (10:32 +0300)]
camerabin: stop ongoing capture if changing resolution

15 years agocamerabin: limit the size of video bin queue leading to view finder
Lasse Laukkanen [Thu, 23 Apr 2009 15:15:43 +0000 (18:15 +0300)]
camerabin: limit the size of video bin queue leading to view finder

We don't want to show old buffers in view finder.

15 years agocamerabin: don't proxy gst xoverlay interface
Lasse Laukkanen [Wed, 22 Apr 2009 09:29:14 +0000 (12:29 +0300)]
camerabin: don't proxy gst xoverlay interface

Default view finder sink in camerabin is autovideosink which doesn't
support xoverlay iface. If application decides to use another sink
that supports xoverlay, then it can use the interface directly.

15 years agocamerabin: allow configuring photography settings when in NULL state
Lasse Laukkanen [Mon, 20 Apr 2009 14:06:14 +0000 (17:06 +0300)]
camerabin: allow configuring photography settings when in NULL state

Cache the photography settings if set in NULL state and apply them later

15 years agophotography: add functions to set/get all settings with one call
Lasse Laukkanen [Mon, 20 Apr 2009 14:05:49 +0000 (17:05 +0300)]
photography: add functions to set/get all settings with one call

15 years agocamerabin: crop still image capture frame if necessary
Lasse Laukkanen [Mon, 9 Mar 2009 16:00:45 +0000 (18:00 +0200)]
camerabin: crop still image capture frame if necessary

If incoming still image capture frame aspect ratio differs from aspect
ratio that application requested, then apply crop to the frame.

15 years agodocs: add inspect files for new plugins
Tim-Philipp Müller [Fri, 5 Jun 2009 09:25:26 +0000 (10:25 +0100)]
docs: add inspect files for new plugins

15 years agodocs: fix build of plugin docs by updating inspect templates
Tim-Philipp Müller [Fri, 5 Jun 2009 09:16:23 +0000 (10:16 +0100)]
docs: fix build of plugin docs by updating inspect templates

The xml inspect data of the debugutilsbad plugin didn't contain the
data for the fpsdisplaysink element (someone probably ran 'make udpate'
in docs/plugins with the old libgstfpsdisplaysink.so from before the
rename still around).

15 years agoRevert "docs: add doc file fro new plugin"
Tim-Philipp Müller [Fri, 5 Jun 2009 09:34:30 +0000 (10:34 +0100)]
Revert "docs: add doc file fro new plugin"

This reverts commit 039ef3eb072555b7ca38fc351ca386bb680ccccc.

We don't track the stuff in xml/ in git.

15 years agodocs: add doc file fro new plugin
Stefan Kost [Fri, 5 Jun 2009 08:18:31 +0000 (11:18 +0300)]
docs: add doc file fro new plugin

15 years agooutput-selector: serialize setting and actual changing of new active pad
Lasse Laukkanen [Mon, 1 Jun 2009 13:31:42 +0000 (16:31 +0300)]
output-selector: serialize setting and actual changing of new active pad

15 years agooutput-selector: unref latest buffer also when resending has been disabled
Lasse Laukkanen [Mon, 4 May 2009 09:29:54 +0000 (12:29 +0300)]
output-selector: unref latest buffer also when resending has been disabled

15 years agooutput-selector: keep ref to buffer for resending only if explicitly requested
Lasse Laukkanen [Thu, 16 Apr 2009 14:32:03 +0000 (17:32 +0300)]
output-selector: keep ref to buffer for resending only if explicitly requested

15 years agoinputselector: don't leak pads in iterator
Wim Taymans [Thu, 4 Jun 2009 17:08:16 +0000 (19:08 +0200)]
inputselector: don't leak pads in iterator

15 years agompegdemux: Add a GST_MEMDUMP line in the descriptor parsing
Jan Schmidt [Thu, 4 Jun 2009 15:29:31 +0000 (16:29 +0100)]
mpegdemux: Add a GST_MEMDUMP line in the descriptor parsing

Make it possible to see descriptor contents in the debug output
(GST_DEBUG=mpegtsdesc:9), and remove a stray semi-colon.

15 years agompegtsdemux: Avoid passing the custom GST_FLOW_NEED_MORE_DATA upstream
Jan Schmidt [Thu, 4 Jun 2009 15:11:16 +0000 (16:11 +0100)]
mpegtsdemux: Avoid passing the custom GST_FLOW_NEED_MORE_DATA upstream

Don't return GST_FLOW_NEED_MORE_DATA from the chain function at the end
of files.

15 years agoinputselector: Notify when the tags property of the selector sinkpads changes
Sebastian Dröge [Thu, 4 Jun 2009 06:56:29 +0000 (08:56 +0200)]
inputselector: Notify when the tags property of the selector sinkpads changes

First part of bug #584686.

15 years agoshapewipe: Increase timeout of the unit test
Sebastian Dröge [Thu, 4 Jun 2009 06:56:14 +0000 (08:56 +0200)]
shapewipe: Increase timeout of the unit test

15 years agoBump core/base requirements to released versions
Tim-Philipp Müller [Wed, 3 Jun 2009 22:35:36 +0000 (23:35 +0100)]
Bump core/base requirements to released versions

15 years agoadd two new plugins to spec file
Christian Schaller [Tue, 2 Jun 2009 10:36:01 +0000 (11:36 +0100)]
add two new plugins to spec file

15 years agodvdspu: add missing header to Makefile.am: gstspu-common.h
Christian Schaller [Tue, 2 Jun 2009 10:23:37 +0000 (11:23 +0100)]
dvdspu: add missing header to Makefile.am: gstspu-common.h

15 years agodirac: use GST_CXXFLAGS instead of GST_CFLAGS for c++ compilers
Tim-Philipp Müller [Tue, 2 Jun 2009 00:09:32 +0000 (01:09 +0100)]
dirac: use GST_CXXFLAGS instead of GST_CFLAGS for c++ compilers

Fixes compiler message about passing -Wdeclaration-after-statement
to the C++ compiler.

15 years agoaacparse: fix sample rate extraction from codec data
Tim-Philipp Müller [Mon, 1 Jun 2009 14:53:27 +0000 (15:53 +0100)]
aacparse: fix sample rate extraction from codec data

In one case we extracted the sample rate index from the codec data
and saved it as sample rate rather than getting the real sample
rate from the table. Fix that, and also make sure we don't access
non-existant table entries by adding a small helper function that
guards against out-of-bounds access in case of invalid input data.

15 years agoaacparse, amrparse: remove bogus gst_pad_fixate_caps() calls
Tim-Philipp Müller [Mon, 1 Jun 2009 13:02:33 +0000 (14:02 +0100)]
aacparse, amrparse: remove bogus gst_pad_fixate_caps() calls

15 years agobaseparse: propagate return value of GstBaseParse::set_sink_caps()
Tim-Philipp Müller [Mon, 1 Jun 2009 12:56:18 +0000 (13:56 +0100)]
baseparse: propagate return value of GstBaseParse::set_sink_caps()

gst_base_parse_sink_setcaps() presumably should fail if the subclass
returns FALSE from its ::set_sink_caps() function.

15 years agobaseparse: don't try to GST_LOG an already-freed caps string
Tim-Philipp Müller [Mon, 1 Jun 2009 12:47:01 +0000 (13:47 +0100)]
baseparse: don't try to GST_LOG an already-freed caps string

The proper way to log caps is via GST_PTR_FORMAT anyway.

15 years agoaacparse: set channels and rate on output caps, and keep codec_data
Tim-Philipp Müller [Mon, 1 Jun 2009 12:05:35 +0000 (13:05 +0100)]
aacparse: set channels and rate on output caps, and keep codec_data

Create output caps from input caps, so we maintain any fields we
might get on the input caps, such as codec_data or rate and channels.
Set channels and rate on the output caps if we don't have input caps
or they don't contain such fields. We do this partly because we can,
but also because some muxers need this information. Tagreadbin will
also be happy about this.

15 years agogppmux: enhance ftyp brand heuristic. Fixes #584360.
Mark Nauwelaerts [Mon, 1 Jun 2009 20:42:08 +0000 (22:42 +0200)]
gppmux: enhance ftyp brand heuristic.  Fixes #584360.

15 years agoshapewipe: Fix some issues that were exposed by the new unit test
Sebastian Dröge [Mon, 1 Jun 2009 19:24:27 +0000 (21:24 +0200)]
shapewipe: Fix some issues that were exposed by the new unit test

15 years agoshapewipe: Add unit test for shapewipe
Sebastian Dröge [Mon, 1 Jun 2009 19:24:12 +0000 (21:24 +0200)]
shapewipe: Add unit test for shapewipe

15 years agoshapewipe: Add documentation and integrate into the build system
Sebastian Dröge [Sun, 31 May 2009 19:33:01 +0000 (21:33 +0200)]
shapewipe: Add documentation and integrate into the build system

15 years agosdpdemux: include glib.h before checking if G_OS_WIN32 is defined
Tim-Philipp Müller [Sun, 31 May 2009 19:24:44 +0000 (20:24 +0100)]
sdpdemux: include glib.h before checking if G_OS_WIN32 is defined

15 years ago.gitignore: ignore new shapewipe example binary
Tim-Philipp Müller [Sun, 31 May 2009 19:23:19 +0000 (20:23 +0100)]
.gitignore: ignore new shapewipe example binary

15 years agohdvparse: Setting rank to NONE so it doesn't get picked up by playbin2.
Edward Hervey [Sun, 31 May 2009 16:23:50 +0000 (18:23 +0200)]
hdvparse: Setting rank to NONE so it doesn't get picked up by playbin2.

15 years agohdvparse: Emit application message with the parsed information.
Edward Hervey [Sun, 31 May 2009 16:23:08 +0000 (18:23 +0200)]
hdvparse: Emit application message with the parsed information.

15 years agohdvparse: New element for parsing private/hdv-a1 streams.
Edward Hervey [Sun, 31 May 2009 12:15:11 +0000 (14:15 +0200)]
hdvparse: New element for parsing private/hdv-a1 streams.

15 years agoshapewipe: Adjust border to still have everything transparent at 1.0 and the other...
Sebastian Dröge [Fri, 29 May 2009 19:07:26 +0000 (21:07 +0200)]
shapewipe: Adjust border to still have everything transparent at 1.0 and the other way around

15 years agoshapewipe: Divide the border value by two, otherwise we use a twice a wide border
Sebastian Dröge [Fri, 29 May 2009 14:55:25 +0000 (16:55 +0200)]
shapewipe: Divide the border value by two, otherwise we use a twice a wide border

15 years agoshapewipe: Add border property to allow smooth borders
Sebastian Dröge [Fri, 29 May 2009 14:51:50 +0000 (16:51 +0200)]
shapewipe: Add border property to allow smooth borders

...and use a border of 0.01 in the example application.

15 years agompegtsdemux: Fix bogus uninitialised variable access
Jan Schmidt [Fri, 29 May 2009 14:44:51 +0000 (15:44 +0100)]
mpegtsdemux: Fix bogus uninitialised variable access

Typo in the previous commit

15 years agompegtsdemux: Use the ISO 639 language code descriptor to send tags.
Jan Schmidt [Fri, 29 May 2009 14:01:42 +0000 (15:01 +0100)]
mpegtsdemux: Use the ISO 639 language code descriptor to send tags.

If there is an ISO 639 language descriptor for a stream, send a language
code tag so that players can show a meaningful language for the audio and
subtitle streams.

15 years agoshapewipe: Fix Makefile of the example application
Sebastian Dröge [Fri, 29 May 2009 14:00:16 +0000 (16:00 +0200)]
shapewipe: Fix Makefile of the example application

15 years agoshapewipe: Add a simple shapewipe transition filter & example application
Sebastian Dröge [Fri, 29 May 2009 13:32:24 +0000 (15:32 +0200)]
shapewipe: Add a simple shapewipe transition filter & example application

15 years agortpbin: Transform the right session sdes message
Olivier Crête [Thu, 28 May 2009 21:37:44 +0000 (17:37 -0400)]
rtpbin: Transform the right session sdes message

Fixes #584165

15 years agoAdd ssrc to application/x-rtp-source-sdes structure
Olivier Crête [Thu, 28 May 2009 21:33:10 +0000 (17:33 -0400)]
Add ssrc to application/x-rtp-source-sdes structure

15 years agoaudioparse: add support for A-Law and µ-Law
Tim-Philipp Müller [Thu, 28 May 2009 22:12:13 +0000 (23:12 +0100)]
audioparse: add support for A-Law and µ-Law

15 years agogstspu: Fix compiler warnings on OS/X
Tristan Matthews [Thu, 28 May 2009 22:08:17 +0000 (23:08 +0100)]
gstspu: Fix compiler warnings on OS/X

Fix some warnings for format string args and uninitialized vars on OS/X
Fixes: #584164
Signed-off-by: Jan Schmidt <thaytan@noraisin.net>
15 years agoqtmux: use different stsd atom type for H263 for ISO and QT variants
Mark Nauwelaerts [Thu, 28 May 2009 11:56:10 +0000 (13:56 +0200)]
qtmux: use different stsd atom type for H263 for ISO and QT variants

Fixes #584114.

15 years agosoundtouch: fix detection of libsoundtouch >= 1.4
Mark Nauwelaerts [Thu, 28 May 2009 11:07:37 +0000 (13:07 +0200)]
soundtouch: fix detection of libsoundtouch >= 1.4

15 years agoamrparse: consider header size in byte <-> time conversions
Mark Nauwelaerts [Thu, 28 May 2009 11:09:24 +0000 (13:09 +0200)]
amrparse: consider header size in byte <-> time conversions

15 years agobaseparse: fix debug category
Mark Nauwelaerts [Tue, 26 May 2009 17:43:53 +0000 (19:43 +0200)]
baseparse: fix debug category

15 years agoselector: remove not needed instance var (previous commit).
Stefan Kost [Thu, 28 May 2009 07:38:50 +0000 (10:38 +0300)]
selector: remove not needed instance var (previous commit).

15 years agojack: when stopping playback, do one more cycle to flush the port. Fixes #582167
Stefan Kost [Mon, 11 May 2009 13:12:54 +0000 (16:12 +0300)]
jack: when stopping playback, do one more cycle to flush the port. Fixes #582167

The gst_jack_audio_client_set_active() flags the port as deactivating and uses
a GCond to wait until the jack_process_cb() has run once more and cleared the
flag. This way the client zero's the buffer. This happens if one manyally go
to PAUSED and then to READY, while leting the mainloop run inbetween.

15 years agooutputselector: implement pad_alloc on active pad.
Stefan Kost [Thu, 28 May 2009 07:12:58 +0000 (10:12 +0300)]
outputselector: implement pad_alloc on active pad.

15 years agoresindvd: Create all the audio streams of all formats
Jan Schmidt [Wed, 27 May 2009 21:54:51 +0000 (22:54 +0100)]
resindvd: Create all the audio streams of all formats

Enable creation of the demuxer pads for all audio streams, even types we
don't yet support. This means that unsupported types (LPCM, DTS) are output,
but not linked to anything yet. If only unsupported streams are available,
the user hears silence instead of having the pipeline not pre-roll correctly.

This is a prerequisite for hooking up the automatic decoder switching.

15 years agortpsouce: the network address is in network order
Wim Taymans [Wed, 27 May 2009 09:03:14 +0000 (11:03 +0200)]
rtpsouce: the network address is in network order

Bring the network address in netowkr byte order to the host order.

15 years agogstspu: Convert g_warnings to GST_ERROR, and fix format specifiers
Jan Schmidt [Tue, 26 May 2009 23:51:45 +0000 (00:51 +0100)]
gstspu: Convert g_warnings to GST_ERROR, and fix format specifiers

Use G_GSSIZE_FORMAT for printing pointer differences, which should work on
both 32-bit and 64-bit systems.
Use GST_ERROR instead of g_warning for printing messages about unknown
packet contents.

15 years agogstspu: Fix a nasty regression, with DVDs randomly crashing
Jan Schmidt [Tue, 26 May 2009 23:47:05 +0000 (00:47 +0100)]
gstspu: Fix a nasty regression, with DVDs randomly crashing

Use the local wrapper function when clearing the compositing buffers to
ensure the correct portion is being cleared.

15 years agoresindvd: LPCM streams are only from 0xa0 to 0xaf.
Jan Schmidt [Tue, 26 May 2009 18:38:54 +0000 (19:38 +0100)]
resindvd: LPCM streams are only from 0xa0 to 0xaf.

Fix the same bug as the previous commit, but in resindvd's copy of
mpegdemux.

15 years agompegdemux: Only treat streams from 0xa0 to 0xaf as LPCM, not 0xa0..0xbf
Jan Schmidt [Tue, 26 May 2009 17:47:32 +0000 (18:47 +0100)]
mpegdemux: Only treat streams from 0xa0 to 0xaf as LPCM, not 0xa0..0xbf

Don't treat some streams (Private Stream 2) as LPCM when they're not. Fixes
playback of files that have private streams in them now that the PES filter
emits such packets.

15 years agodvdspu: fix printf formats to avoid compiler warnings
Tim-Philipp Müller [Tue, 26 May 2009 17:43:18 +0000 (18:43 +0100)]
dvdspu: fix printf formats to avoid compiler warnings

15 years agoAutomatic update of common submodule
Jan Schmidt [Tue, 26 May 2009 16:19:35 +0000 (17:19 +0100)]
Automatic update of common submodule

From 6ab11d1 to c572721

15 years agogstspu: Implement PGS rendering and alpha blending
Jan Schmidt [Sat, 23 May 2009 22:19:05 +0000 (23:19 +0100)]
gstspu: Implement PGS rendering and alpha blending

Refactor the DVD subpicture compositing, switching it to 8-bit alpha
calculations. Reuse some of the resulting code to implement PGS
subpicture blending.

Implement parsing and collecting of composition objects properly, but
assuming a single active window and colour palette for now. I need more
PGS samples.

15 years agodvdspu: Move a bunch of vobsub specific logic to a separate file.
Jan Schmidt [Fri, 22 May 2009 10:13:59 +0000 (11:13 +0100)]
dvdspu: Move a bunch of vobsub specific logic to a separate file.

Start separating out the vobsub logic in preparation for creating
separate renderer objects for each subpicture format.

15 years agodvdspu: Add copyright header and includes to the PGS handler
Jan Schmidt [Fri, 22 May 2009 10:12:52 +0000 (11:12 +0100)]
dvdspu: Add copyright header and includes to the PGS handler

15 years agodvdspu: Make the PGS dumping less verbose
Jan Schmidt [Fri, 22 May 2009 09:15:44 +0000 (10:15 +0100)]
dvdspu: Make the PGS dumping less verbose

15 years agodvdspu: Collect entire PGS packets and queue as events
Jan Schmidt [Thu, 21 May 2009 22:45:43 +0000 (23:45 +0100)]
dvdspu: Collect entire PGS packets and queue as events

Collect fragmented PGS packets and submit as complete events for
processing at the correct moment.

15 years agodvdspu: Add simple PGS handler that dumps the packet info
Jan Schmidt [Wed, 20 May 2009 07:55:40 +0000 (08:55 +0100)]
dvdspu: Add simple PGS handler that dumps the packet info

Add setcaps logic on the subpicture sink pad for configuring
which subpicture format is arriving.

Add the first piece of PGS subpicture handling by dumping the stream
contents out to the terminal as the packets arrive.

Add some more debug.
Don't calculate the running time for our subpicture packets twice,
once is enough.

15 years agodvdspu: Add a simple default colour table.
Jan Schmidt [Thu, 21 May 2009 14:22:58 +0000 (15:22 +0100)]
dvdspu: Add a simple default colour table.

When we're not provided with a palette in advance, draw with a grey
colour or two, instead of YUV green.