Christian Schaller [Tue, 2 Jun 2009 10:36:01 +0000 (11:36 +0100)]
add two new plugins to spec file
Christian Schaller [Tue, 2 Jun 2009 10:23:37 +0000 (11:23 +0100)]
dvdspu: add missing header to Makefile.am: gstspu-common.h
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.
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.
Tim-Philipp Müller [Mon, 1 Jun 2009 13:02:33 +0000 (14:02 +0100)]
aacparse, amrparse: remove bogus gst_pad_fixate_caps() calls
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.
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.
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.
Mark Nauwelaerts [Mon, 1 Jun 2009 20:42:08 +0000 (22:42 +0200)]
gppmux: enhance ftyp brand heuristic. Fixes #584360.
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
Sebastian Dröge [Mon, 1 Jun 2009 19:24:12 +0000 (21:24 +0200)]
shapewipe: Add unit test for shapewipe
Sebastian Dröge [Sun, 31 May 2009 19:33:01 +0000 (21:33 +0200)]
shapewipe: Add documentation and integrate into the build system
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
Tim-Philipp Müller [Sun, 31 May 2009 19:23:19 +0000 (20:23 +0100)]
.gitignore: ignore new shapewipe example binary
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.
Edward Hervey [Sun, 31 May 2009 16:23:08 +0000 (18:23 +0200)]
hdvparse: Emit application message with the parsed information.
Edward Hervey [Sun, 31 May 2009 12:15:11 +0000 (14:15 +0200)]
hdvparse: New element for parsing private/hdv-a1 streams.
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
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
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.
Jan Schmidt [Fri, 29 May 2009 14:44:51 +0000 (15:44 +0100)]
mpegtsdemux: Fix bogus uninitialised variable access
Typo in the previous commit
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.
Sebastian Dröge [Fri, 29 May 2009 14:00:16 +0000 (16:00 +0200)]
shapewipe: Fix Makefile of the 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
Olivier Crête [Thu, 28 May 2009 21:37:44 +0000 (17:37 -0400)]
rtpbin: Transform the right session sdes message
Fixes #584165
Olivier Crête [Thu, 28 May 2009 21:33:10 +0000 (17:33 -0400)]
Add ssrc to application/x-rtp-source-sdes structure
Tim-Philipp Müller [Thu, 28 May 2009 22:12:13 +0000 (23:12 +0100)]
audioparse: add support for A-Law and µ-Law
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>
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.
Mark Nauwelaerts [Thu, 28 May 2009 11:07:37 +0000 (13:07 +0200)]
soundtouch: fix detection of libsoundtouch >= 1.4
Mark Nauwelaerts [Thu, 28 May 2009 11:09:24 +0000 (13:09 +0200)]
amrparse: consider header size in byte <-> time conversions
Mark Nauwelaerts [Tue, 26 May 2009 17:43:53 +0000 (19:43 +0200)]
baseparse: fix debug category
Stefan Kost [Thu, 28 May 2009 07:38:50 +0000 (10:38 +0300)]
selector: remove not needed instance var (previous commit).
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.
Stefan Kost [Thu, 28 May 2009 07:12:58 +0000 (10:12 +0300)]
outputselector: implement pad_alloc on active pad.
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.
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.
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.
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.
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.
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.
Tim-Philipp Müller [Tue, 26 May 2009 17:43:18 +0000 (18:43 +0100)]
dvdspu: fix printf formats to avoid compiler warnings
Jan Schmidt [Tue, 26 May 2009 16:19:35 +0000 (17:19 +0100)]
Automatic update of common submodule
From 6ab11d1 to c572721
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.
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.
Jan Schmidt [Fri, 22 May 2009 10:12:52 +0000 (11:12 +0100)]
dvdspu: Add copyright header and includes to the PGS handler
Jan Schmidt [Fri, 22 May 2009 09:15:44 +0000 (10:15 +0100)]
dvdspu: Make the PGS dumping less verbose
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.
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.
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.
Jan Schmidt [Thu, 21 May 2009 10:13:54 +0000 (11:13 +0100)]
mpegdemux: Add sparse stream filling.
First stab at sending new-segment events to effect sparse stream
updates.
Jan Schmidt [Wed, 20 May 2009 23:41:47 +0000 (00:41 +0100)]
mpegdemux: Add support for outputting sub-picture streams found in files.
Output subpicture streams when they are found on the private stream ID.
Don't strip off the first byte of such packets when pushing.
Jan Schmidt [Wed, 20 May 2009 07:50:37 +0000 (08:50 +0100)]
mpegtsdemux: Add mapping for DVD and Bluray subpicture streams.
Add output subpicture pads for DVD (video/x-dvd-subpicture) and Bluray PGS
(subpicture/x-pgs) streams. Remove an unused variable from
the PES filter.
Jan Schmidt [Sun, 24 May 2009 23:25:07 +0000 (00:25 +0100)]
resindvd: Fix subpicture timing in some cases
Make sure we send events to all pads. Unmark the notlinked flag on
freshly selected pads to ensure they get data.
Jan Schmidt [Fri, 22 May 2009 13:02:38 +0000 (14:02 +0100)]
resindvd: Try a different approach to segment filling.
Restore the old segment update behaviour, and instead extend the
close segment stop time if the SCR (last_stop) overruns the calculated
stop position.
Jan Schmidt [Thu, 21 May 2009 10:10:13 +0000 (11:10 +0100)]
resindvd: Minor change to inline a function in the demuxer
Jan Schmidt [Wed, 20 May 2009 18:31:24 +0000 (19:31 +0100)]
states: Ignore the camerabin for the states test
It accesses the video device, which isn't generally desirable for the
state test.
Jan Schmidt [Fri, 22 May 2009 12:07:38 +0000 (13:07 +0100)]
dvdspu: Don't accidentally lose the colour palette when flushing the SPU
Fixes racy startup on DVDs where it sometimes gets entirely the wrong set
of colours in the menus and subtitles.
Wim Taymans [Tue, 26 May 2009 13:40:52 +0000 (15:40 +0200)]
rtpsource: byteswap the port from GstNetAddress
Since the port in GstNetAddress is in network order we might need to byteswap it
before adding it to the source statistics.
Edward Hervey [Mon, 11 May 2009 17:30:34 +0000 (19:30 +0200)]
gstpesfilter: Directly use gst_adapter_take_buffer().
Edward Hervey [Mon, 25 May 2009 14:27:34 +0000 (16:27 +0200)]
gstpesfilter: Don't peek the adapter if we don't have enough data.
Edward Hervey [Mon, 25 May 2009 14:25:42 +0000 (16:25 +0200)]
gstpesfilter: Don't skip private streams PES but push them out.
The one thing we *DO* need to do for those streams is to skip all
the PTS/DTS/Scrambling/DSM/extension/... handling.
Edward Hervey [Mon, 25 May 2009 13:21:52 +0000 (15:21 +0200)]
mpegtsdemux: Ignore NULL packets as early as possible.
This avoids:
* creating a MpegTSStream structure for nothing
* processing packet data for nothing
Edward Hervey [Mon, 25 May 2009 13:21:12 +0000 (15:21 +0200)]
mpegtsdemux: Add mapping for HDV private streams
Mathias Hasselmann [Mon, 25 May 2009 15:24:32 +0000 (17:24 +0200)]
neonhttp: add property to support SS cerificates
Add a property to support self-signed certificates in neonhttpsrc. This property
is FALSE by default.
Fixes #511097
Wim Taymans [Mon, 25 May 2009 11:46:29 +0000 (13:46 +0200)]
rtpbin: remove ptdemux ghostpads
Wim Taymans [Mon, 25 May 2009 11:33:20 +0000 (13:33 +0200)]
tests: add receive rtpbin unit test
Wim Taymans [Mon, 25 May 2009 09:18:57 +0000 (11:18 +0200)]
x264enc: add multipass-cache-file property
Fixes #583627
Christian Schaller [Sat, 23 May 2009 12:11:28 +0000 (13:11 +0100)]
Update spec file
Michael Smith [Fri, 22 May 2009 23:56:52 +0000 (16:56 -0700)]
adpcmdec: Add new plugin for ms-adpcm decoding.
Edward Hervey [Wed, 20 May 2009 14:46:49 +0000 (16:46 +0200)]
mpegvideoparse: Detect interlaced content and set it on outgoing caps.
I also added the parsing of all the other bits in the sequence extension
header in case we need it later.
Wim Taymans [Fri, 22 May 2009 14:41:19 +0000 (16:41 +0200)]
rtpbin: add to new signal to remove SSRC pads
Ali Sabil [Fri, 22 May 2009 14:35:20 +0000 (16:35 +0200)]
ssrcdemux: emit signal when pads are removed
Add action signal to clear an SSRC in the ssrc demuxer.
Add signal to notify of removed ssrc.
See #554839
Wim Taymans [Fri, 22 May 2009 13:45:19 +0000 (15:45 +0200)]
rtpbin: use our ghostpads instead of its target
Since we keep a reference to our ghostpads, we can use them to track sessions.
This avoid us having to mess with the target of the ghostpad.
Wim Taymans [Fri, 22 May 2009 13:37:29 +0000 (15:37 +0200)]
tests: more rtpbin checks
Wim Taymans [Fri, 22 May 2009 13:36:17 +0000 (15:36 +0200)]
rtpbin: don't warn when getting request pads twice
Allow getting the request pads multiple times, just return the previously
created pads.
Wim Taymans [Fri, 22 May 2009 11:47:30 +0000 (13:47 +0200)]
rtpsource: add RTP and RTCP source address
Add the RTP and RTCP sender addresses in the stats structure.
Wim Taymans [Fri, 22 May 2009 11:45:15 +0000 (13:45 +0200)]
rtpsession: reuse source code for SDES
Reuse the RTPSource object property instead of duplicating code.
Wim Taymans [Fri, 22 May 2009 11:44:17 +0000 (13:44 +0200)]
tests: add more rtpbin tests
Wim Taymans [Fri, 22 May 2009 10:23:27 +0000 (12:23 +0200)]
tests: add rtpbin unit test
Add the beginnings of an rtpbin unit test
Add some more stuff to .gitignore
Wim Taymans [Fri, 22 May 2009 10:20:13 +0000 (12:20 +0200)]
rtpbin: set target state on new elements
Set the state on newly added elements to the state of the parent.
Add some debug info and do some cleanups
Wim Taymans [Fri, 22 May 2009 09:59:17 +0000 (11:59 +0200)]
rtpbin: unref requests pads after releasing
Wim Taymans [Thu, 21 May 2009 14:00:46 +0000 (16:00 +0200)]
mpegtsdemux: fix memleaks and refcounts
Use correct constants for PID_type so that we clear the right filter.
provide_clock must return a ref to a clock.
Tim-Philipp Müller [Fri, 22 May 2009 08:55:20 +0000 (09:55 +0100)]
autotools: move -Wno-portability for automake to configure.ac
Tim-Philipp Müller [Fri, 22 May 2009 08:54:57 +0000 (09:54 +0100)]
id3tag: canonicalise function names
Tim-Philipp Müller [Fri, 22 May 2009 08:51:29 +0000 (09:51 +0100)]
id3tag: change GType to GstId3Tag so it doesn't conflict with the id3tag plugin in -ugly
Tim-Philipp Müller [Fri, 22 May 2009 00:29:33 +0000 (01:29 +0100)]
win32: update config.h
Tim-Philipp Müller [Fri, 22 May 2009 00:27:09 +0000 (01:27 +0100)]
id3tag: register GType of the base class with a less generic name
.. so we can easily move the base class into -base later without
causing GType name conflicts.
Tim-Philipp Müller [Fri, 22 May 2009 00:04:02 +0000 (01:04 +0100)]
m4: fix 'suspicious cache value id' warnings in gst-fionread.m4
And update common to pull in a related fix from there.
Olivier Crête [Thu, 21 May 2009 23:43:50 +0000 (01:43 +0200)]
rtpbin: Implement releasing the streams
See #561752
Olivier Crête [Thu, 21 May 2009 23:16:11 +0000 (01:16 +0200)]
rtpbin: Keep jb signals handler
Keep the signal handlers so they can be disconnected at release time
See #561752
Wim Taymans [Thu, 21 May 2009 23:12:57 +0000 (01:12 +0200)]
rtpbin: use the right lock for the sessions
Use the right lock when iterating the sessions.
Olivier Crête [Thu, 21 May 2009 23:03:55 +0000 (01:03 +0200)]
rtpbin: Free session if request pads are released
Free the session when all the request pads are released.
Don't mess with the session list in free_session as it is called from a foreach
on that list.
Set the state of the upstream element to NULL first.
See #561752
Olivier Crête [Thu, 21 May 2009 22:51:53 +0000 (00:51 +0200)]
rtpbin: Implement relasing of the rtp recv pad
Olivier Crête [Thu, 21 May 2009 22:44:51 +0000 (00:44 +0200)]
rtpbin: Implement releasing of rtp send pads
Olivier Crête [Thu, 21 May 2009 22:34:36 +0000 (00:34 +0200)]
rtpbin: Implement release of the recv rtcp pad
See #561752
Olivier Crête [Thu, 21 May 2009 22:16:19 +0000 (00:16 +0200)]
rtpbin: Implement releasing of rtcp src pad
See #561752
Jan Schmidt [Mon, 18 May 2009 22:38:59 +0000 (23:38 +0100)]
dtsdec: Reconcile element code with a52dec changes
Re-work the dtsdec element code to unify it with changes made it a52dec,
including support for reverse playback and dynamic channel negotiation
on the source pad.
Jan Schmidt [Thu, 21 May 2009 20:35:32 +0000 (21:35 +0100)]
win32: Update the win32 config.h
Wim Taymans [Mon, 18 May 2009 21:21:47 +0000 (23:21 +0200)]
sdpdemux: rework RTCP sending and RTP receiving
When we are dealing with multiast, create the udp src and sink elements pointing
to the multicast addresses. When we are doing unicast, receive data on the local
ports and don't send RTCP because we don't know where we have to send it.
Fixes #583188