platform/upstream/gstreamer.git
11 years agompegvideoparse: support field encoding for interlaced video
Matej Knopp [Tue, 30 Jul 2013 13:17:23 +0000 (15:17 +0200)]
mpegvideoparse: support field encoding for interlaced video

https://bugzilla.gnome.org/show_bug.cgi?id=705144

11 years agoneonhttpsrc: allow building with neon-0.30
Alexandre Rostovtsev [Mon, 12 Aug 2013 05:02:51 +0000 (01:02 -0400)]
neonhttpsrc: allow building with neon-0.30

https://bugzilla.gnome.org/show_bug.cgi?id=705812

11 years agosrtp: Let packets through without touching them if no crypto or auth is set
Olivier Crête [Mon, 12 Aug 2013 16:27:33 +0000 (12:27 -0400)]
srtp: Let packets through without touching them if no crypto or auth is set

11 years agosrtpdec: Refactor code a bit
Olivier Crête [Mon, 12 Aug 2013 16:27:16 +0000 (12:27 -0400)]
srtpdec: Refactor code a bit

Simplify the error handling case and get the packet push out of the if()

11 years agosrtpdec: Don't error on invalid packet, just drop it
Olivier Crête [Mon, 12 Aug 2013 15:56:27 +0000 (11:56 -0400)]
srtpdec: Don't error on invalid packet, just drop it

11 years agovc1parse: Fix the SequenceLayer handling for advanced profile.
Sreerenj Balachandran [Wed, 7 Aug 2013 12:01:33 +0000 (15:01 +0300)]
vc1parse: Fix the SequenceLayer handling for advanced profile.

The Sequence Header Data Structure STRUCT_C for Advanced Profile
has only a one valid field which is the profile indicator. Don't
use the reserved fields for fps update like Simple/Main profile.

https://bugzilla.gnome.org/show_bug.cgi?id=705667

11 years agovc1parse: Fix seq hdr STRUCT_A handling for advanced profile.
Sreerenj Balachandran [Wed, 7 Aug 2013 11:52:43 +0000 (14:52 +0300)]
vc1parse: Fix seq hdr STRUCT_A handling for advanced profile.

The Sequence Header Data Structure STRUCT_A for advanced profile
may be eight consecutive zero bytes.Don't try to override the
width and height values in this case.

https://bugzilla.gnome.org/show_bug.cgi?id=705667

11 years agoaiffparse: fix SSND data size
Matthieu Bouron [Wed, 7 Aug 2013 09:14:20 +0000 (10:14 +0100)]
aiffparse: fix SSND data size

AIFF chunk size does not include the chunk header size (8 bytes), so the
SSND data size is equal to the chunk size minus the SSND header size (8
bytes).

https://bugzilla.gnome.org/show_bug.cgi?id=705675

11 years agohlsdemux: add support for redirections
Andoni Morales Alastruey [Sat, 13 Jul 2013 00:50:52 +0000 (02:50 +0200)]
hlsdemux: add support for redirections

11 years agompegdemux: send codec tag for each stream
Arnaud Vrac [Fri, 2 Aug 2013 18:37:30 +0000 (20:37 +0200)]
mpegdemux: send codec tag for each stream

11 years agotests: uvch264demux: send stream-start events and fix event order
Tim-Philipp Müller [Sat, 10 Aug 2013 20:34:10 +0000 (21:34 +0100)]
tests: uvch264demux: send stream-start events and fix event order

11 years agouvch264mjpgdemux: fix event ordering
Tim-Philipp Müller [Sat, 10 Aug 2013 20:33:36 +0000 (21:33 +0100)]
uvch264mjpgdemux: fix event ordering

11 years agotests: mplex: fix 'Got data flow before stream-start event' failure
Tim-Philipp Müller [Sat, 10 Aug 2013 19:02:01 +0000 (20:02 +0100)]
tests: mplex: fix 'Got data flow before stream-start event' failure

11 years agotests: mpeg2enc: fix 'Got data flow before stream-start event' failure
Tim-Philipp Müller [Sat, 10 Aug 2013 18:54:57 +0000 (19:54 +0100)]
tests: mpeg2enc: fix 'Got data flow before stream-start event' failure

11 years agoaiffparse: fix CAPS query
Tim-Philipp Müller [Sat, 10 Aug 2013 18:44:15 +0000 (19:44 +0100)]
aiffparse: fix CAPS query

Was causing criticals in decodebin/playbin because the caps
query done when exposing pads would return ANY caps.

11 years agoaiffparse: don't unref NULL buffer
Tim-Philipp Müller [Sat, 10 Aug 2013 18:43:41 +0000 (19:43 +0100)]
aiffparse: don't unref NULL buffer

11 years agoaiffparse: set missing layout field in srcpad caps
Matthieu Bouron [Wed, 7 Aug 2013 18:08:33 +0000 (19:08 +0100)]
aiffparse: set missing layout field in srcpad caps

https://bugzilla.gnome.org/show_bug.cgi?id=705674

11 years agoaiffparse: send start stream event
Matthieu Bouron [Wed, 7 Aug 2013 16:28:29 +0000 (17:28 +0100)]
aiffparse: send start stream event

https://bugzilla.gnome.org/show_bug.cgi?id=705674

11 years agoaiffparse: fix buffers initialisation
Matthieu Bouron [Tue, 6 Aug 2013 15:53:37 +0000 (16:53 +0100)]
aiffparse: fix buffers initialisation

https://bugzilla.gnome.org/show_bug.cgi?id=705674

11 years agobuild: add subdir-objects to AM_INIT_AUTOMAKE
Lubosz Sarnecki [Fri, 2 Aug 2013 12:11:01 +0000 (14:11 +0200)]
build: add subdir-objects to AM_INIT_AUTOMAKE

Fixes warnings with automake 1.14.

https://bugzilla.gnome.org/show_bug.cgi?id=705350

11 years agotests: create/remove orc directory at proper time
David Schleef [Fri, 9 Aug 2013 19:12:09 +0000 (20:12 +0100)]
tests: create/remove orc directory at proper time

Before automake creates .deps directories, and during distclean.

https://bugzilla.gnome.org/show_bug.cgi?id=705350

11 years agotests: fix build of baseaudiovisualizer test with subdir-objects option
Tim-Philipp Müller [Fri, 9 Aug 2013 19:10:35 +0000 (20:10 +0100)]
tests: fix build of baseaudiovisualizer test with subdir-objects option

https://bugzilla.gnome.org/show_bug.cgi?id=705350

11 years agoh264parse: Use slice type to determine if frame is keyframe
Edward Hervey [Wed, 7 Aug 2013 07:04:39 +0000 (09:04 +0200)]
h264parse: Use slice type to determine if frame is keyframe

This is the same behaviour as pre-baseparse-refactoring

https://bugzilla.gnome.org/show_bug.cgi?id=705598

11 years agoh264parse: Do not trigger caps update if we only have PPS updates
Edward Hervey [Sat, 3 Aug 2013 12:20:47 +0000 (14:20 +0200)]
h264parse: Do not trigger caps update if we only have PPS updates

Updating caps results in downstream elements potentially reconfiguring themselves
(such as decoders). If we do this in the middle of keyframes, we would result
in those elements being reconfigured and handling garbage until the next keyframe.

Instead of this only send (potentially) new codec_data when we have *both* SPS and
PPS.

https://bugzilla.gnome.org/show_bug.cgi?id=705333

11 years agoivtc: quiet FIXME when it's not relevant
David Schleef [Wed, 31 Jul 2013 18:56:39 +0000 (11:56 -0700)]
ivtc: quiet FIXME when it's not relevant

11 years agoivtc: implement new edge-directed upsampling
David Schleef [Wed, 31 Jul 2013 18:54:06 +0000 (11:54 -0700)]
ivtc: implement new edge-directed upsampling

11 years agodvbsrc: remove use of _XOPEN_SOURCE
Tim-Philipp Müller [Sat, 3 Aug 2013 17:07:30 +0000 (18:07 +0100)]
dvbsrc: remove use of _XOPEN_SOURCE

Which causes problems when used with _GNU_SOURCE apparently, and it
seems it was only set because of usleep(), which we can just replace
with g_usleep() until we get rid of those entirely.

https://bugzilla.gnome.org/show_bug.cgi?id=705208

11 years agobluez: return GST_FLOW_EOS in avdtpsrc create when stream is EOF
Bernhard Miller [Fri, 2 Aug 2013 13:12:17 +0000 (15:12 +0200)]
bluez: return GST_FLOW_EOS in avdtpsrc create when stream is EOF

Signed-off-by: Bernhard Miller <bernhard.miller@streamunlimited.com>
https://bugzilla.gnome.org/show_bug.cgi?id=705349

11 years agompegtspacketizer: Look harder for next sync position
Edward Hervey [Thu, 1 Aug 2013 09:01:03 +0000 (11:01 +0200)]
mpegtspacketizer: Look harder for next sync position

If ever we lose sync, we were just checking for the next 0x47 marker ...
which might actually happen within a mpeg-ts packet.

Instead check for 3 repeating 0x47 at the expected packet size interval,
which the same logic we use when we initially look for the packet size.

11 years agompegtspacketizer: Fix PCR LUT table
Edward Hervey [Thu, 1 Aug 2013 08:58:23 +0000 (10:58 +0200)]
mpegtspacketizer: Fix PCR LUT table

We were only resetting the first 512 values of the lookup table instead
of the whole 8192.
This resulted in any PCR PID over 0x0200 ... ending up taking the first PCR
table around :(

11 years agodashdemux: properly error out when manifest has no streams
Thiago Santos [Wed, 31 Jul 2013 01:06:38 +0000 (22:06 -0300)]
dashdemux: properly error out when manifest has no streams

Post an error message when the manifest is parsed and no valid streams
are found be activated and used.

Fixes #704308

11 years agompegts: private/teletext -> application/x-teletext
Tim-Philipp Müller [Tue, 30 Jul 2013 15:08:17 +0000 (16:08 +0100)]
mpegts: private/teletext -> application/x-teletext

11 years agowin32: update
Tim-Philipp Müller [Mon, 29 Jul 2013 20:25:14 +0000 (21:25 +0100)]
win32: update

11 years agotests: ignore new example binaries
Tim-Philipp Müller [Mon, 29 Jul 2013 20:24:51 +0000 (21:24 +0100)]
tests: ignore new example binaries

11 years agopo: update translations
Tim-Philipp Müller [Mon, 29 Jul 2013 20:23:48 +0000 (21:23 +0100)]
po: update translations

11 years agoBack to development
Sebastian Dröge [Mon, 29 Jul 2013 12:48:02 +0000 (14:48 +0200)]
Back to development

11 years agoRelease 1.1.3
Sebastian Dröge [Mon, 29 Jul 2013 11:52:29 +0000 (13:52 +0200)]
Release 1.1.3

11 years agoUpdate .po files
Sebastian Dröge [Mon, 29 Jul 2013 11:52:24 +0000 (13:52 +0200)]
Update .po files

11 years agomidi: Fix handling of the SEGMENT query
Sebastian Dröge [Mon, 29 Jul 2013 10:17:57 +0000 (12:17 +0200)]
midi: Fix handling of the SEGMENT query

11 years agogst: Don't swap start/stop for negative rates in the SEGMENT query
Sebastian Dröge [Mon, 29 Jul 2013 10:14:08 +0000 (12:14 +0200)]
gst: Don't swap start/stop for negative rates in the SEGMENT query

11 years agompegdemux: Implement SEGMENT query
Sebastian Dröge [Mon, 29 Jul 2013 09:02:34 +0000 (11:02 +0200)]
mpegdemux: Implement SEGMENT query

11 years agotsdemux: Implement SEGMENT query
Sebastian Dröge [Mon, 29 Jul 2013 09:01:09 +0000 (11:01 +0200)]
tsdemux: Implement SEGMENT query

11 years agomxfdemux: Implement SEGMENT query
Sebastian Dröge [Mon, 29 Jul 2013 09:00:14 +0000 (11:00 +0200)]
mxfdemux: Implement SEGMENT query

11 years agoall: Fix for GST_DISABLE_GST_DEBUG
Edward Hervey [Mon, 29 Jul 2013 07:35:08 +0000 (09:35 +0200)]
all: Fix for GST_DISABLE_GST_DEBUG

Where applicable, remove methods that don't do anything different than
the default implementation.

11 years agodocs/spec: Really remove all mentions of CELT plugin
Edward Hervey [Mon, 29 Jul 2013 06:46:39 +0000 (08:46 +0200)]
docs/spec: Really remove all mentions of CELT plugin

11 years agoh264parse: Show NALU string type in debug messages
Edward Hervey [Mon, 29 Jul 2013 06:29:34 +0000 (08:29 +0200)]
h264parse: Show NALU string type in debug messages

If you know the NALU type by heart I tip my hat to you, for the rest of
us mere mortals this is a bit more helpful

11 years agotsdemux: Remove unused macros
Edward Hervey [Mon, 29 Jul 2013 06:28:17 +0000 (08:28 +0200)]
tsdemux: Remove unused macros

11 years agotsdemux: Add more AC3 detection cases
Edward Hervey [Mon, 29 Jul 2013 06:23:30 +0000 (08:23 +0200)]
tsdemux: Add more AC3 detection cases

ATSC ac3 streams are always guaranteed to be AC3 if EAC3 descriptor
is not present
If stream registration id is 'AC-3' then it's also guaranteed to be AC3.
Finally if AC3 descriptor is present it's guaranteed to be AC3.

Only silences a warning, but still.

11 years agotsdemux: Flush out pending data on EOS
Edward Hervey [Mon, 29 Jul 2013 06:20:10 +0000 (08:20 +0200)]
tsdemux: Flush out pending data on EOS

Ensures downstream elements (like decoders) really get all the data

11 years agompegtspacketizer: More AFC flags
Edward Hervey [Mon, 29 Jul 2013 06:18:24 +0000 (08:18 +0200)]
mpegtspacketizer: More AFC flags

I should have put those in a previous commit. sorry :(

11 years agompegdefs: Simplify PCR/PTS/DTS => GST conversion macros
Edward Hervey [Mon, 29 Jul 2013 06:14:57 +0000 (08:14 +0200)]
mpegdefs: Simplify PCR/PTS/DTS => GST conversion macros

We know we will not overflow 64 bits, therefore just use direct
multiplication/division instead of the scale method (trims usage from
50 instruction calls to 2/3).

11 years agodvdspu: artifacts when rendering clipped spu
Matej Knopp [Sun, 28 Jul 2013 18:14:55 +0000 (20:14 +0200)]
dvdspu: artifacts when rendering clipped spu

https://bugzilla.gnome.org/show_bug.cgi?id=705039

11 years agompegvideoparse: do not update caps when bitrate changes
Matej Knopp [Sun, 28 Jul 2013 16:28:30 +0000 (18:28 +0200)]
mpegvideoparse: do not update caps when bitrate changes

https://bugzilla.gnome.org/show_bug.cgi?id=705035

11 years agoFix URIs in REQUIREMENTS
David Schleef [Sun, 28 Jul 2013 21:22:38 +0000 (14:22 -0700)]
Fix URIs in REQUIREMENTS

11 years agocelt: remove, replaced by opus.
David Schleef [Sun, 28 Jul 2013 20:12:32 +0000 (13:12 -0700)]
celt: remove, replaced by opus.

11 years agouvch264_mjpgdemux: Remove duplicated variables
Olivier Crête [Sun, 28 Jul 2013 15:29:32 +0000 (17:29 +0200)]
uvch264_mjpgdemux: Remove duplicated variables

11 years agouvch264_mjpgdemux: Don't unmap/unref buffer if it's pushed out as-is
Olivier Crête [Sun, 28 Jul 2013 15:25:10 +0000 (17:25 +0200)]
uvch264_mjpgdemux: Don't unmap/unref buffer if it's pushed out as-is

11 years agouvcv4l2_mjpegdemux: Unmap buffer
Robert Krakora [Fri, 26 Jul 2013 18:33:00 +0000 (18:33 +0000)]
uvcv4l2_mjpegdemux: Unmap buffer

https://bugzilla.gnome.org/show_bug.cgi?id=699517

11 years agoUpdate spec file to be current
Christian Fredrik Kalager Schaller [Sun, 28 Jul 2013 13:46:33 +0000 (15:46 +0200)]
Update spec file to be current

11 years agotsdemux: HDV only has mpeg 1 audio layer 2
Edward Hervey [Sat, 27 Jul 2013 10:17:34 +0000 (12:17 +0200)]
tsdemux: HDV only has mpeg 1 audio layer 2

Set that accordingly on the caps

11 years agoasfmux: Various debug argument fixes
Edward Hervey [Fri, 26 Jul 2013 15:31:22 +0000 (17:31 +0200)]
asfmux: Various debug argument fixes

mainly G_GUINT16_FORMAT to ... the right type (guint32 or guint8)

11 years agompg123: Remove dead assignment
Edward Hervey [Fri, 26 Jul 2013 15:25:42 +0000 (17:25 +0200)]
mpg123: Remove dead assignment

harder ? :)

11 years agoladspa: initialize debug category earlier
David Schleef [Fri, 26 Jul 2013 20:20:27 +0000 (13:20 -0700)]
ladspa: initialize debug category earlier

You know, before it's used.

11 years agompegtsdemux: Add more flag debugging for PES and TS packets
Edward Hervey [Fri, 26 Jul 2013 05:53:06 +0000 (07:53 +0200)]
mpegtsdemux: Add more flag debugging for PES and TS packets

Helps with debugging issues. And also remove unused variable (opcr)

This will also allow us in the future to properly detect:
* random-access location (to enable keyframe observation and
  potentially seeking
* discont location (to properly handle resets)
* splice location (to properly handle new stream changes)

11 years agocodecparser: Make warnings more meaningful
Edward Hervey [Wed, 24 Jul 2013 15:49:59 +0000 (17:49 +0200)]
codecparser: Make warnings more meaningful

By stating whether we don't have enough data or it's a corrupted
packet

11 years agopesparse: Demote a Warning
Edward Hervey [Wed, 24 Jul 2013 15:49:23 +0000 (17:49 +0200)]
pesparse: Demote a Warning

We actually now know what to do ... have a log message :)

11 years agompegtsmux: avoid using clipped out buffers
Vincent Penquerc'h [Thu, 25 Jul 2013 14:06:12 +0000 (15:06 +0100)]
mpegtsmux: avoid using clipped out buffers

If a buffer was entirely clipped out (ie, it's out of the segment
entirely), we'll end up with a NULL buffer, which we don't want
to process/dereference.

11 years agotsdemux: Remember requested seek rate and use it
Edward Hervey [Wed, 24 Jul 2013 13:50:14 +0000 (15:50 +0200)]
tsdemux: Remember requested seek rate and use it

The new seek handling re-creates the segment time information once it
has enough information after a seek.

The problem was that we'd completely ignore the requested rate. So store
that and use it in the newly created segment.

https://bugzilla.gnome.org/show_bug.cgi?id=694369

11 years agoapplemedia: atdec: destroy the queue if set_format fails
Alessandro Decina [Wed, 24 Jul 2013 07:18:43 +0000 (09:18 +0200)]
applemedia: atdec: destroy the queue if set_format fails

11 years agoapplemedia: atdec: remove c++ style comments
Alessandro Decina [Wed, 24 Jul 2013 07:15:49 +0000 (09:15 +0200)]
applemedia: atdec: remove c++ style comments

11 years agoapplemedia: atdec: 1st round of fixes
Alessandro Decina [Wed, 24 Jul 2013 07:11:59 +0000 (09:11 +0200)]
applemedia: atdec: 1st round of fixes

11 years agompegvideoparse: Fix codec_data handling
Edward Hervey [Tue, 23 Jul 2013 08:10:13 +0000 (10:10 +0200)]
mpegvideoparse: Fix codec_data handling

Set to sequence_offset so that _process_config accepts it.

(btw: seq_offset usage throughout this plugin is really dodgy)

https://bugzilla.gnome.org/show_bug.cgi?id=702806

11 years agotsdemux: Create and send codec tag
Edward Hervey [Fri, 14 Jun 2013 05:28:29 +0000 (07:28 +0200)]
tsdemux: Create and send codec tag

Helps with applications that rely on presence of that tag for user-facing
information.

https://bugzilla.gnome.org/show_bug.cgi?id=702216

11 years agohlsdemux: Implement pkcs7 unpadding
Sebastian Dröge [Tue, 23 Jul 2013 11:29:18 +0000 (13:29 +0200)]
hlsdemux: Implement pkcs7 unpadding

Every encrypted fragment will be a multiple of 128 bits, the last byte
contains the number of bytes that were added as padding in the end
and should be removed.

https://bugzilla.gnome.org/show_bug.cgi?id=701673

11 years agoapplemedia: add AudioToolbox based audio decoder
Alessandro Decina [Tue, 23 Jul 2013 08:30:39 +0000 (10:30 +0200)]
applemedia: add AudioToolbox based audio decoder

11 years agodecklink: Add support for group-id in the stream-start event
Sebastian Dröge [Tue, 23 Jul 2013 08:33:21 +0000 (10:33 +0200)]
decklink: Add support for group-id in the stream-start event

11 years agomxfdemux: Add support for group-id in the stream-start event
Sebastian Dröge [Tue, 23 Jul 2013 08:31:27 +0000 (10:31 +0200)]
mxfdemux: Add support for group-id in the stream-start event

11 years agotsdemux: Add support for group-id in the stream-start event
Sebastian Dröge [Tue, 23 Jul 2013 08:24:22 +0000 (10:24 +0200)]
tsdemux: Add support for group-id in the stream-start event

11 years agotsparse: Add support for group-id in the stream-start event
Sebastian Dröge [Tue, 23 Jul 2013 08:21:26 +0000 (10:21 +0200)]
tsparse: Add support for group-id in the stream-start event

11 years agompegdemux: Add support for group-id in the stream-start event
Sebastian Dröge [Tue, 23 Jul 2013 08:15:58 +0000 (10:15 +0200)]
mpegdemux: Add support for group-id in the stream-start event

11 years agomidiparse: Add support for group-id in the stream-start event
Sebastian Dröge [Tue, 23 Jul 2013 08:14:01 +0000 (10:14 +0200)]
midiparse: Add support for group-id in the stream-start event

11 years agomssdemux: Add support for group-id in the stream-start event
Sebastian Dröge [Tue, 23 Jul 2013 08:11:49 +0000 (10:11 +0200)]
mssdemux: Add support for group-id in the stream-start event

11 years agoresindvd: Add support for group-id in the stream-start event
Sebastian Dröge [Tue, 23 Jul 2013 08:09:38 +0000 (10:09 +0200)]
resindvd: Add support for group-id in the stream-start event

11 years agohlsdemux: Add support for group-id in the stream-start event
Sebastian Dröge [Tue, 23 Jul 2013 08:07:24 +0000 (10:07 +0200)]
hlsdemux: Add support for group-id in the stream-start event

11 years agodash: Add support for group-id in the stream-start event
Sebastian Dröge [Tue, 23 Jul 2013 08:04:42 +0000 (10:04 +0200)]
dash: Add support for group-id in the stream-start event

11 years agointerlace: fix negotiation if filter caps are passed to query_caps
Tim-Philipp Müller [Mon, 22 Jul 2013 16:30:31 +0000 (17:30 +0100)]
interlace: fix negotiation if filter caps are passed to query_caps

Make videotestsrc ! interlace ! $anything work again. Problem
was that upstream filter caps were passed which contained
interlace-mode=progressive, which doesn't intersect too well
with interlace's source pad template caps, leading to
not-negotiated errors.

11 years agoh264parse: Don't abort on invalid streams
Olivier Crête [Mon, 22 Jul 2013 12:56:32 +0000 (14:56 +0200)]
h264parse: Don't abort on invalid streams

Just return an error

11 years agohls: fix for assert failure when using encrypted HLS streams
Alex Ashley [Fri, 19 Jul 2013 14:30:42 +0000 (15:30 +0100)]
hls: fix for assert failure when using encrypted HLS streams

When using an HLS encrypted stream, an assertion failure is thrown:
(gst-launch-1.0:31028): GLib-GObject-WARNING **: cannot register
existing type `GstFragment'

(gst-launch-1.0:31028): GLib-CRITICAL **: g_once_init_leave: assertion
`result != 0' failed

Eventually tracked this down to the call gst_fragment_new()
in function gst_hls_demux_decrypt_fragment.

The GstFragment class is defined in ext/hls/gstfragment.c and in
gst-libs/gst/uridownloader/gstfragment.c. Having two class definitions
with the same name causes the assert failure when trying to allocate
GstFragment. Deleting the version from hls and editing the
Makefile.am solves this assert failure.

https://bugzilla.gnome.org/show_bug.cgi?id=704555

11 years agodecklink: actually enable decklinksink
Youri Westerman [Fri, 19 Jul 2013 21:42:12 +0000 (23:42 +0200)]
decklink: actually enable decklinksink

https://bugzilla.gnome.org/show_bug.cgi?id=704505

11 years agodecklink: add "device-number" to select from multiple devices
Youri Westerman [Fri, 19 Jul 2013 18:09:28 +0000 (20:09 +0200)]
decklink: add "device-number" to select from multiple devices

https://bugzilla.gnome.org/show_bug.cgi?id=704505

11 years agompegvideoparse: Only map input buffer once
Edward Hervey [Mon, 22 Jul 2013 08:46:23 +0000 (10:46 +0200)]
mpegvideoparse: Only map input buffer once

Instead of constantly map/unmapping it a bit everywhere, we pass along
to all functions the GstMapInfo.

Makes mpeg video frame parsing 6% faster

https://bugzilla.gnome.org/show_bug.cgi?id=702330

11 years agotsdemux: disentangle requested program number from active program number
Douglas Bagnall [Sat, 9 Mar 2013 23:07:40 +0000 (12:07 +1300)]
tsdemux: disentangle requested program number from active program number

The program_number attribute was overloaded, trying to indicate both
the currently playing program, and the program requested via the
"program-number" property.  The end result was that setting the
property didn't work (see #690934).

I added a new requested_program_number field rather than reviving the
current_program_number field because it seemed this would result in
fewer changes overall and be less confusing.  It breaks symmetry with
the "program-number" property, but it retains parallels with the likes
of program->program_number.

Because gst_ts_demux_reset is called after the properties have been
parsed, requested_program_number is initialised in gst_ts_demux_init.
Whether this is exactly the right place, I don't know.

11 years agotsdemux: fix program-number functionality
Jesper Larsen [Wed, 6 Mar 2013 11:15:47 +0000 (12:15 +0100)]
tsdemux: fix program-number functionality

Setting the program-number property does not affect which program
is actually being demuxed.

Moving the initialization of the program_number from
gst_ts_demux_reset to gst_ts_demux_init seems to fix this issue.

https://bugzilla.gnome.org/show_bug.cgi?id=690934

11 years agoresindvd: Send stream-start event before anything else on the mpeg demuxer srcpads
Sebastian Dröge [Mon, 22 Jul 2013 07:18:32 +0000 (09:18 +0200)]
resindvd: Send stream-start event before anything else on the mpeg demuxer srcpads

11 years agompegdemux: do not push discont buffers if they aren't discont
Arnaud Vrac [Wed, 17 Jul 2013 15:12:59 +0000 (17:12 +0200)]
mpegdemux: do not push discont buffers if they aren't discont

Explicitly unset discont flag when it shouldn't be set.

https://bugzilla.gnome.org/show_bug.cgi?id=682110

11 years agograbcut: Add GrabCut segmentation element
Miguel Casas-Sanchez [Wed, 17 Jul 2013 09:28:28 +0000 (11:28 +0200)]
grabcut: Add GrabCut segmentation element

https://bugzilla.gnome.org/show_bug.cgi?id=702722

11 years agoh263parse: fix height extraction for H263p
Tim-Philipp Müller [Mon, 15 Jul 2013 22:01:31 +0000 (23:01 +0100)]
h263parse: fix height extraction for H263p

11 years agoh263parse: add pixel-aspect-ratio if upstream doesn't provide one
Tim-Philipp Müller [Mon, 15 Jul 2013 21:57:06 +0000 (22:57 +0100)]
h263parse: add pixel-aspect-ratio if upstream doesn't provide one

11 years agodashdemux: fix typo in check_queue_full function
Thiago Santos [Tue, 9 Jul 2013 15:49:55 +0000 (12:49 -0300)]
dashdemux: fix typo in check_queue_full function

It should return True when the queue IS full

Fixes #704226

11 years agompegtsdemux: Remember seek sequence number
Edward Hervey [Mon, 15 Jul 2013 09:15:11 +0000 (11:15 +0200)]
mpegtsdemux: Remember seek sequence number

* Avoids handling twice the same seek (can happen with playbin and files
  with subtitles)
* Set the sequence number of the segment event to the sequence number of
  the seek event that generated it (-1 for the initial one).