platform/upstream/gstreamer.git
9 years agovideodecoder: Fix broken boolean expression
Sebastian Dröge [Thu, 28 Aug 2014 14:06:22 +0000 (17:06 +0300)]
videodecoder: Fix broken boolean expression

We can seek with end_type==NONE and end_type==SET && end_position=-1. The
check for end_type!=NONE made the second condition impossible.

CID 1226440

9 years agoaudiodecoder: Fix broken boolean expression
Sebastian Dröge [Thu, 28 Aug 2014 14:00:26 +0000 (17:00 +0300)]
audiodecoder: Fix broken boolean expression

We can seek with end_type==NONE and end_type==SET && end_position=-1. The
check for end_type!=NONE made the second condition impossible.

CID 1226439

9 years agodecodebin: Include information from the error messages of tried but failed elements...
Sebastian Dröge [Mon, 25 Aug 2014 17:59:40 +0000 (20:59 +0300)]
decodebin: Include information from the error messages of tried but failed elements in the missing plugin errors

9 years agodecodebin: Initialize local variables for every retry
Sebastian Dröge [Mon, 25 Aug 2014 13:22:46 +0000 (16:22 +0300)]
decodebin: Initialize local variables for every retry

9 years agodecodebin: Remove error case that resulted in two error messages
Sebastian Dröge [Mon, 25 Aug 2014 12:15:06 +0000 (15:15 +0300)]
decodebin: Remove error case that resulted in two error messages

We already send one in gst_decode_bin_expose() for this case. Only
if we're unable to typefind the caps another error message is needed.

9 years agotypefinding: tighten checks for 'freeform mp3' a little
Tim-Philipp Müller [Sun, 24 Aug 2014 21:36:59 +0000 (22:36 +0100)]
typefinding: tighten checks for 'freeform mp3' a little

Freeform mp3s typically have bitrates higher than the
otherwise max allowed rate. Prevents misdetection of
some truetype font files as mp3.

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

9 years agoaudiodecoder: Don't ignore ::start/stop return values
Sebastian Dröge [Mon, 25 Aug 2014 10:14:36 +0000 (13:14 +0300)]
audiodecoder: Don't ignore ::start/stop return values

9 years agospec: add gst-device-monitor-1.0 to RPM .spec file
Tim-Philipp Müller [Mon, 18 Aug 2014 12:04:31 +0000 (13:04 +0100)]
spec: add gst-device-monitor-1.0 to RPM .spec file

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

9 years agoplaysinkconvertbin: only intersect with the filter at the end
Thiago Santos [Thu, 14 Aug 2014 19:57:01 +0000 (16:57 -0300)]
playsinkconvertbin: only intersect with the filter at the end

Otherwise we might change some capsfeatures from ANY to the specific
value from the filter and do not filter those out in case the
sink doesn't support them

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

9 years agodiscoverer: Set 'processing = FALSE' when done discovering SYNC
Thibault Saunier [Fri, 15 Aug 2014 11:31:53 +0000 (13:31 +0200)]
discoverer: Set 'processing = FALSE' when done discovering SYNC

This avoids a race where we would get new tag but we are already
prerolled and analyzing results.

It is the way it is supposed to be handled as stated in comment:
"If preroll is complete, drop these tags - the collected information is
possibly already being processed and adding more tags would be racy"

9 years agogstvideo: add missing entry to win32 .def
Thiago Santos [Thu, 14 Aug 2014 20:21:44 +0000 (17:21 -0300)]
gstvideo: add missing entry to win32 .def

gst_video_guess_framerate

9 years agovideo: Add gst_video_guess_framerate() function
Jan Schmidt [Thu, 14 Aug 2014 13:53:16 +0000 (23:53 +1000)]
video: Add gst_video_guess_framerate() function

Takes a nominal frame duration and returns a standard
FPS if it matches closely enough (< 0.1%), or else
calculates a framerate that'll do.

9 years agovideo: Various simple docs fixes
Jan Schmidt [Thu, 14 Aug 2014 15:04:45 +0000 (01:04 +1000)]
video: Various simple docs fixes

9 years agovideodecoder: Reset last_timestamp_out on new segment
Jan Schmidt [Fri, 8 Aug 2014 10:01:20 +0000 (20:01 +1000)]
videodecoder: Reset last_timestamp_out on new segment

Reset last_timestamp_out when applying the output segment
change, to avoid decoder confusion over new timestamp timelines when
a seamless segment change happens.

Move some locks/unlocks to later when they're actually needed.

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

9 years agodecodebin: handle group switching for deadend group
Thiago Santos [Mon, 14 Jul 2014 15:29:50 +0000 (12:29 -0300)]
decodebin: handle group switching for deadend group

Gracefully handle switching groups that all pads are deadend.

This can happen when quickly switching programs on mpegts as the
output is unaligned it can happen that not enough data was accumulated at
parsers to generate any buffers, causing the stream to receive EOS before
any data can be decoded.

To handle this scenario, the _expose function now also gets if there is
any next group to be exposed along with the list of endpads. If there are
no endpads and there is another group to expose it will switch to this next
group and then retry exposing the streams.

Also, the requirement to only switch from the chain that has the endpad had
to be modified to care for when the drainpad is NULL

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

9 years agodecodebin: consider all deadend pads as drained
Thiago Santos [Fri, 11 Jul 2014 21:51:44 +0000 (18:51 -0300)]
decodebin: consider all deadend pads as drained

Otherwise when switching out a group with a deadend pad it will block
as it would be waiting for EOS on a deadend that already got one

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

9 years agobasetextoverlay: fix caps negotiation filter
Thiago Santos [Tue, 12 Aug 2014 16:41:04 +0000 (13:41 -0300)]
basetextoverlay: fix caps negotiation filter

9 years agoplaysinkconvertbin: Make sure to intersect raw caps with our converter caps
Sebastian Dröge [Wed, 13 Aug 2014 11:28:05 +0000 (14:28 +0300)]
playsinkconvertbin: Make sure to intersect raw caps with our converter caps

Otherwise we end up allowing video/x-raw with arbitrary caps features that are
not handled by our converters.

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

9 years agoaudiodecoder: Don't drain and flush on SEGMENT events.
Jan Schmidt [Tue, 12 Aug 2014 13:18:57 +0000 (23:18 +1000)]
audiodecoder: Don't drain and flush on SEGMENT events.

As was done for the base video decoder in commit 695675, don't
flush out the decoder on a new SEGMENT event. Segment events
may be a new segment, but are also often segment updates for
the current segment where the old data should be kept. For new
segments, a STREAM_START event will already trigger a drain, but
make sure to flush any remaining partial data then as well.

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

9 years agovideoscale: Add NV21 support
Sanjay NM [Mon, 11 Aug 2014 04:45:14 +0000 (10:15 +0530)]
videoscale: Add NV21 support

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

9 years agotests: fix decodebin signal used in icles/playback/ decodetest, test and test5
Matthieu Crapet [Mon, 11 Aug 2014 16:21:26 +0000 (18:21 +0200)]
tests: fix decodebin signal used in icles/playback/ decodetest, test and test5

Since release 1.1.4, "new-decoded-pad" no longer exists.

9 years agobasetextoverlay: rework caps negotiation
Thiago Santos [Fri, 8 Aug 2014 15:46:47 +0000 (12:46 -0300)]
basetextoverlay: rework caps negotiation

Make textoverlay negotiate caps more correctly.

1) Check what caps we received in the video-sink
2) If it already has the overlay meta -> use it directly
3) If it doesn't, textoverlay try adding the overlay meta and using it,
   if downstream doesn't support it, just use what is received in the
   video-sink
4) Check if the allocation query also supports the meta to enable
   really using it

Before it wasn't really doing renegotiation of any kind, just
re-checking if it should use the overlay meta or not

Also had to update the caps in the test as memory:SystemMemory seems
to be required when you use a caps feature otherwise intersection/subset
checks will fail.

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

9 years agobasetextoverlay: always intersect with the filter caps
Thiago Santos [Thu, 7 Aug 2014 20:35:05 +0000 (17:35 -0300)]
basetextoverlay: always intersect with the filter caps

Avoids returning values that upstream can't produce

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

9 years agoencodebin: delay missing encoder error as passthrough is still possible
Thiago Santos [Wed, 30 Jul 2014 19:59:15 +0000 (16:59 -0300)]
encodebin: delay missing encoder error as passthrough is still possible

Set up a fakesink with a pad probe to replace the missing encoder to detect
if encoding was really required and only error out in this case. Otherwise
just let passthrough branch work.

This delays the error posting from the set_state function to when buffers
are really flowing. Unit test updated accordingly

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

9 years agodecodebin: Remove buffering special casing for adaptive streaming demuxers
Sebastian Dröge [Mon, 11 Aug 2014 08:57:43 +0000 (10:57 +0200)]
decodebin: Remove buffering special casing for adaptive streaming demuxers

They output smaller buffers now and we should be able to handle the buffering
limits like in every other situation now.

9 years agovideodecoder: Don't set decoding timestamps on raw video
Jan Alexander Steffens (heftig) [Thu, 7 Aug 2014 08:44:03 +0000 (10:44 +0200)]
videodecoder: Don't set decoding timestamps on raw video

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

9 years agovideodecoder: In reverse playback, flush the output queue after decoding each keyfram...
George Kiagiadakis [Thu, 7 Aug 2014 15:10:41 +0000 (18:10 +0300)]
videodecoder: In reverse playback, flush the output queue after decoding each keyframe chain

This fixes the reverse playback scenario when upstream is not fully
parsing the stream and does not send every keyframe chain separately
with the DISCONT flag on the keyframe.

To explain this, let's suppose we have this stream:
 0 1 2 3 4 5 6 7 8
 K     K     K

In most circumstances, the upstream parser will chain in the
decoder the buffers in the following order:

 6 7 8 3 4 5 0 1 2
 D     D     D

In this case, GstVideoDecoder will flush the parse queue every time
it receives discont (D) and we will eventually get in the output queue:

  (flush here) 8 7 6  (flush here) 5 4 3 (flush here) 2 1 0

In case the upstream parser doesn't do this work, though,
GstVideoDecoder will receive the whole stream at once and will flush
the parse queue afterwards:

 0 1 2 3 4 5 6 7 8
 D

During the flush, it will look backwards for keyframes and will
decode in this order:

 6 7 8 3 4 5 0 1 2

This is the same order that it would receive from upstream if
upstream was parsing and looking for the keyframes, only that now
there is no flushing of the output queue in between keyframes,
which will result in the output queue looking like this:

 2 1 0 6 5 3 8 7 6

This will confuse downstream obviously and will play incorrectly.
This patch forces the decoder to flush the output queue every time
it picks a new keyframe to decode, so it will end up decoding 6 7 8
and then flushing before picking 3 for decoding, so the output will
get 8 7 6 before 6 5 3 and the video will play back correctly.

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

9 years agoconfigure: use pkg-config to detect x11 and xv libs
Tim-Philipp Müller [Sun, 10 Aug 2014 16:30:18 +0000 (17:30 +0100)]
configure: use pkg-config to detect x11 and xv libs

AC_PATH_XTRA macro unnecessarily pulls in libSM and libICE.

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

9 years agoxvimage: fix crash when outputting debug log
Tim-Philipp Müller [Sun, 10 Aug 2014 16:27:14 +0000 (17:27 +0100)]
xvimage: fix crash when outputting debug log

Can't print a GstMemory via GST_PTR_FORMAT, it will crash
inside GObject checking if it's a GObject, and we can't
check generically whether it's a derived GstMemory type,
as boxed types don't allowe derivation.

9 years agoaudioencoder: Mark caps argument as not being transferred
Sebastian Rasmussen [Sat, 9 Aug 2014 12:14:48 +0000 (14:14 +0200)]
audioencoder: Mark caps argument as not being transferred

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

9 years agovorbisenc: Improve annotation of internal function
Sebastian Rasmussen [Sat, 9 Aug 2014 12:20:32 +0000 (14:20 +0200)]
vorbisenc: Improve annotation of internal function

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

9 years agotests: Add missing unrefs of objects after use
Sebastian Rasmussen [Wed, 6 Aug 2014 11:41:46 +0000 (13:41 +0200)]
tests: Add missing unrefs of objects after use

Unreffing the objects returned by gst_bin_get_by_name() and
gst_pipeline_get_use() were missing in several tests, so add these.

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

9 years agooggdemux: Unref peer pad after use in error case
Sebastian Rasmussen [Wed, 6 Aug 2014 11:22:56 +0000 (13:22 +0200)]
oggdemux: Unref peer pad after use in error case

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

9 years agoappsrc: Some minor fixes and cleanup
Sebastian Dröge [Wed, 6 Aug 2014 08:07:42 +0000 (10:07 +0200)]
appsrc: Some minor fixes and cleanup

9 years agoappsrc: Make caps set action queued together with buffer
Wang Xin-yu (王昕宇) [Wed, 6 Aug 2014 13:59:32 +0000 (09:59 -0400)]
appsrc: Make caps set action queued together with buffer

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

9 years agoplaybin: Keep a reference to the playsink sinkpads
Sebastian Dröge [Fri, 1 Aug 2014 13:00:46 +0000 (15:00 +0200)]
playbin: Keep a reference to the playsink sinkpads

Otherwise playsink might get shut down without us noticing
that our pad references are gone now.

Probably fixes https://bugzilla.gnome.org/show_bug.cgi?id=733165

9 years agostreamsynchronizer: don't unset DISCONT flag
Mohammed Sameer [Wed, 30 Jul 2014 17:53:53 +0000 (20:53 +0300)]
streamsynchronizer: don't unset DISCONT flag

Unsetting DISCONT flag means we need to copy the buffer. This copy operation
mandates that all GstMemory should be copy-able which is not always the case

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

9 years agoMakefile: Add usage of build-checks step
Edward Hervey [Thu, 31 Jul 2014 16:40:59 +0000 (18:40 +0200)]
Makefile: Add usage of build-checks step

Allows building checks without running them

9 years agocheck: Fix include path of rtp checks
Edward Hervey [Thu, 31 Jul 2014 14:09:41 +0000 (16:09 +0200)]
check: Fix include path of rtp checks

Fixes make distcheck

9 years agopbutils: discoverer: Always set the pipeline back to NULL after an error
Thibault Saunier [Wed, 30 Jul 2014 13:23:39 +0000 (15:23 +0200)]
pbutils: discoverer: Always set the pipeline back to NULL after an error

Otherwize the pipeline would be in an wrong state and on the next
iteration any kind of error could happen

Everytime an error happens in a pipeline the application has to set the
pipeline back to NULL instead of READY.

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

9 years agodecodebin: add missing 'time' word to debug message
Thiago Santos [Tue, 29 Jul 2014 17:20:42 +0000 (14:20 -0300)]
decodebin: add missing 'time' word to debug message

It prints the buffers, bytes and time limits, but 'time' was missing
from the string.

9 years agoplaybin: Pass through NO_PREROLL state change returns
Sebastian Dröge [Mon, 28 Jul 2014 14:56:08 +0000 (16:56 +0200)]
playbin: Pass through NO_PREROLL state change returns

Fixes playback of live pipelines.

9 years agouridecodebin: Pass through NO_PREROLL state change returns
Sebastian Dröge [Mon, 28 Jul 2014 14:55:17 +0000 (16:55 +0200)]
uridecodebin: Pass through NO_PREROLL state change returns

Fixes playback of live pipelines.

9 years agoplaybin: fix 'attempt to unlock mutex that was not locked' in error code path
Tim-Philipp Müller [Sat, 26 Jul 2014 13:52:01 +0000 (14:52 +0100)]
playbin: fix 'attempt to unlock mutex that was not locked' in error code path

Fixes playbin unit test with latest GLib.

9 years agovideoencoder: Don't delay set_format
Nicolas Dufresne [Tue, 8 Jul 2014 20:59:37 +0000 (16:59 -0400)]
videoencoder: Don't delay set_format

This prevent implementing allocation query, as the format need to be
known in order to determin the size and number of buffers needed.

Note: This may lead to few regressions that will need fixing

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

9 years agodecodebin: Don't unref caps for which we don't own a reference... get one first
Sebastian Dröge [Wed, 23 Jul 2014 17:51:36 +0000 (19:51 +0200)]
decodebin: Don't unref caps for which we don't own a reference... get one first

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

9 years agoplaybin: Go asynchronously from READY to PAUSED
Sebastian Dröge [Wed, 23 Jul 2014 10:36:15 +0000 (12:36 +0200)]
playbin: Go asynchronously from READY to PAUSED

We now add all our elements to uridecodebin *after*
GstBin::change_state(READY->PAUSED), so we need to post async-start
and async-done messages ourselves if we want to work async.

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

9 years agouridecodebin: Go asynchronously from READY to PAUSED
Sebastian Dröge [Wed, 23 Jul 2014 10:27:36 +0000 (12:27 +0200)]
uridecodebin: Go asynchronously from READY to PAUSED

We now add all our elements to uridecodebin *after*
GstBin::change_state(READY->PAUSED), so we need to post async-start
and async-done messages ourselves if we want to work async.

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

10 years agodiscoverer: Pretty-print topology tags
Vivia Nikolaidou [Mon, 21 Jul 2014 12:54:05 +0000 (15:54 +0300)]
discoverer: Pretty-print topology tags

Call the code used in properties for topology tags too.
Side-effect achieved: more tags printed, buffers (e.g. images) shortened.

10 years agodiscoverer: Fix code style a bit
Sebastian Dröge [Mon, 21 Jul 2014 11:53:17 +0000 (13:53 +0200)]
discoverer: Fix code style a bit

if (...)
  one_line;
else if (...) {
  many_lines;
} else
  one_line;

looks a bit confusing.

10 years agodiscoverer: prettier image tag printing
Vivia Nikolaidou [Mon, 21 Jul 2014 10:48:31 +0000 (13:48 +0300)]
discoverer: prettier image tag printing

Rather than dumping the serialized sample value, the code now
prints the number of bytes in the buffer, then the caps in a
human-readable format.

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

10 years agoaudiodecoder: Handle CAPS events immediately instead of delaying them
Sebastian Dröge [Thu, 10 Jul 2014 10:39:46 +0000 (12:39 +0200)]
audiodecoder: Handle CAPS events immediately instead of delaying them

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

10 years agovideodecoder: Handle CAPS events immediately instead of delaying them
Sebastian Dröge [Fri, 11 Jul 2014 19:51:05 +0000 (21:51 +0200)]
videodecoder: Handle CAPS events immediately instead of delaying them

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

10 years agoplaybin: Fix unit test for last change
Sebastian Dröge [Tue, 15 Jul 2014 15:34:01 +0000 (17:34 +0200)]
playbin: Fix unit test for last change

It will successfully asynchronously go to PAUSED now and
later fail.

10 years agouridecodebin: Create new sources after chaining up to the parent class
Sebastian Dröge [Tue, 15 Jul 2014 15:23:24 +0000 (17:23 +0200)]
uridecodebin: Create new sources after chaining up to the parent class

Otherwise we start the new sources already before the parent class
got ready to start.

10 years agoplaybin: Create new sources after chaining up to the parent class
Sebastian Dröge [Tue, 15 Jul 2014 15:20:05 +0000 (17:20 +0200)]
playbin: Create new sources after chaining up to the parent class

Otherwise we start the new sources already before the parent class
got ready to start.

10 years agoplaybin-complex: Change template name from %d to the more common %u
Sebastian Dröge [Thu, 10 Jul 2014 14:26:08 +0000 (16:26 +0200)]
playbin-complex: Change template name from %d to the more common %u

10 years agodecodebin: Link Parser/Converter directly and already connect to pad-added and other...
Sebastian Dröge [Thu, 10 Jul 2014 14:24:36 +0000 (16:24 +0200)]
decodebin: Link Parser/Converter directly and already connect to pad-added and other signals before setting elements to PAUSED

otherwise we're going to
a) start Parser/Converter before they are linked to their capsfilter,
   breaking their negotiation of a proper stream format
b) start demuxers without having connected to their pad-added signals. We
   miss pads and in the worst case don't link any pads at all

10 years agodecodebin: Send sticky events to the new element after setting it to PAUSED
Sebastian Dröge [Thu, 10 Jul 2014 10:51:22 +0000 (12:51 +0200)]
decodebin: Send sticky events to the new element after setting it to PAUSED

... and if this fails for whatever reason we skip the element and instead
try with the next element. This allows us to handle elements that fail
when setting caps on them by just skipping to the next alternative element.

10 years agodecodebin: Only link elements further after setting them to PAUSED
Sebastian Dröge [Thu, 10 Jul 2014 10:50:17 +0000 (12:50 +0200)]
decodebin: Only link elements further after setting them to PAUSED

They might fail to go to PAUSED, and when connecting them further
we might already expose their srcpads on decodebin if we're unlucky.
This prevents us to handle failures going to PAUSED gracefully.

10 years agodecodebin: Remove ERROR message filter after we set the element to PAUSED
Sebastian Dröge [Thu, 10 Jul 2014 10:22:35 +0000 (12:22 +0200)]
decodebin: Remove ERROR message filter after we set the element to PAUSED

This allows us to catch more errors gracefully and switch to an alternative
element instead.

10 years agodecodebin: Only continue autoplugging once the pad has final caps
Sebastian Dröge [Thu, 10 Jul 2014 10:17:52 +0000 (12:17 +0200)]
decodebin: Only continue autoplugging once the pad has final caps

If the caps query returned us fixed caps this doesn't mean yet
that these caps are actually complete (fields might be missing).

It allows to do us some decisions, but the selection of the next
element should be delayed as only complete caps allow proper selection
of the next element.

10 years agodecodebin: Consider the caps after the capsfilter after parsers for autoplugging
Sebastian Dröge [Thu, 10 Jul 2014 10:03:46 +0000 (12:03 +0200)]
decodebin: Consider the caps after the capsfilter after parsers for autoplugging

Otherwise we might try to continue autoplugging e.g. for a specific
stream-format although the parser could convert to something else, thus giving
us potentially less options for decoders.

10 years agopbutils: fix missing plugin description for missing elements
Tim-Philipp Müller [Sun, 20 Jul 2014 23:17:38 +0000 (00:17 +0100)]
pbutils: fix missing plugin description for missing elements

CID: 1226445

10 years agoBack to development
Sebastian Dröge [Sat, 19 Jul 2014 16:04:35 +0000 (18:04 +0200)]
Back to development

10 years agoRelease 1.4.0
Sebastian Dröge [Sat, 19 Jul 2014 15:04:57 +0000 (17:04 +0200)]
Release 1.4.0

10 years agoUpdate .po files
Sebastian Dröge [Sat, 19 Jul 2014 14:27:43 +0000 (16:27 +0200)]
Update .po files

10 years agoappsrc: Fix memory leak with callback notify not being called in dispose
Youness Alaoui [Sat, 19 Jul 2014 01:19:03 +0000 (21:19 -0400)]
appsrc: Fix memory leak with callback notify not being called in dispose

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

10 years agopo: Update translations
Sebastian Dröge [Sat, 19 Jul 2014 10:29:56 +0000 (12:29 +0200)]
po: Update translations

10 years agoencoding-profile: Add example for using encoder presets with profiles
Nirbheek Chauhan [Fri, 18 Jul 2014 10:31:23 +0000 (16:01 +0530)]
encoding-profile: Add example for using encoder presets with profiles

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

10 years agoencoding-profile: Fix typos and old API in docs
Nirbheek Chauhan [Fri, 18 Jul 2014 10:16:05 +0000 (15:46 +0530)]
encoding-profile: Fix typos and old API in docs

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

10 years agoxvimagesink: fix property description string
Tim-Philipp Müller [Thu, 17 Jul 2014 13:36:16 +0000 (14:36 +0100)]
xvimagesink: fix property description string

Spotted by Josep Torra.

10 years agopo: update POTFILES
Piotr Drąg [Tue, 15 Jul 2014 14:56:30 +0000 (16:56 +0200)]
po: update POTFILES

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

10 years agoplaysink: Fix filter property getter
Arun Raghavan [Sat, 12 Jul 2014 05:03:30 +0000 (10:33 +0530)]
playsink: Fix filter property getter

The switch-case set was incomplete.

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

10 years agoRelease 1.3.91
Sebastian Dröge [Fri, 11 Jul 2014 09:21:29 +0000 (11:21 +0200)]
Release 1.3.91

10 years agoUpdate .po files
Sebastian Dröge [Fri, 11 Jul 2014 09:21:05 +0000 (11:21 +0200)]
Update .po files

10 years agolibvisual: Remove < 0.4 support
Edward Hervey [Fri, 11 Jul 2014 08:13:03 +0000 (10:13 +0200)]
libvisual: Remove < 0.4 support

And remove the version guards that went along with it

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

10 years agodmabuf: Ensure _get_fd() works even for shared memory
Nicolas Dufresne [Thu, 10 Jul 2014 22:17:47 +0000 (18:17 -0400)]
dmabuf: Ensure _get_fd() works even for shared memory

Fixes regression introduced by:

commit b60888fd4bcacd42bb4e27fa938272d6e72c5c32
Author: Michael Olbrich <m.olbrich@pengutronix.de>
Date:   Tue May 20 11:18:56 2014 +0200

    dmabuf: share the mapping with shared copies of the memory

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

10 years agopo: Update translations
Sebastian Dröge [Fri, 11 Jul 2014 06:51:58 +0000 (08:51 +0200)]
po: Update translations

10 years agosdp: add gstmikey.h to sdp.h
Evan Nemerson [Thu, 3 Jul 2014 20:46:08 +0000 (13:46 -0700)]
sdp: add gstmikey.h to sdp.h

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

10 years agoriff: Print invalid fourcc in error message in hex
Sebastian Rasmussen [Thu, 3 Jul 2014 16:32:02 +0000 (18:32 +0200)]
riff: Print invalid fourcc in error message in hex

Previously this was printed as characters which caused later processing
of the error message to sometimes warn about non-UTF-8 characters.

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

10 years agovideodecoder: parse any source data that is still available.
Gwenole Beauchesne [Fri, 20 Jun 2014 16:02:31 +0000 (18:02 +0200)]
videodecoder: parse any source data that is still available.

Fix gst_video_decoder_parse_available() to really parse any pending
source data that is still available in the adapter. This is a memory
optimization to avoid expansion of video packed added to the adapter,
but also a fix to EOS condition when the subclass parse() function
ultimately only needed to call into gvd_have_frame() and no additional
source bytes were consumed, i.e. gvd_add_to_frame() is not called.

This situation can occur when decoding H.264 streams in byte-stream/nal
mode for instance. A decoder always requires the next NAL unit to be
parsed so that to determine picture boundaries. When a new picture is
found, no byte is consumed (i.e. gvd_add_to_frame() is not called)
but gvd_have_frame() is called (i.e. priv->current_frame is gone).

Also make sure to avoid infinite loops caused by incorrect subclass
parse() implementations. This can occur when no byte gets consumed
and no appropriate indication (GST_VIDEO_DECODER_FLOW_NEED_DATA) is
returned.

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
10 years agotests: codec-select: fix compilation
Wim Taymans [Wed, 2 Jul 2014 13:50:23 +0000 (15:50 +0200)]
tests: codec-select: fix compilation

10 years agomikey: add more Since markers for new methods
Wim Taymans [Wed, 2 Jul 2014 13:49:38 +0000 (15:49 +0200)]
mikey: add more Since markers for new methods

10 years agomikey: make message and payload mini-objects
Wim Taymans [Wed, 2 Jul 2014 13:38:41 +0000 (15:38 +0200)]
mikey: make message and payload mini-objects

Make the MIKEY message and payload objects miniobjects so that they have
a GType and are refcounted.
We can reuse the dispose method to clear our payload objects.
Add some annotations.
Implement a copy function for the MIKEY message.
Fix the unit test.

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

10 years agotests: codec-select: Plug element name memory leak
Sebastian Rasmussen [Tue, 1 Jul 2014 22:21:00 +0000 (00:21 +0200)]
tests: codec-select: Plug element name memory leak

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

10 years agodocs: Assorted documentation and introspection fixes for new 1.4 API
Evan Nemerson [Tue, 1 Jul 2014 23:14:43 +0000 (16:14 -0700)]
docs: Assorted documentation and introspection fixes for new 1.4 API

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

10 years agortspconnection: also allow POST before GET
Wim Taymans [Tue, 1 Jul 2014 14:19:22 +0000 (16:19 +0200)]
rtspconnection: also allow POST before GET

Don't only allow GET and then POST request to setup tunneling over HTTP
but also allow POST and then GET.

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

10 years agolibvisual: Rename get_type() function to prevent conflicts with static linking
Sebastian Dröge [Sat, 28 Jun 2014 15:08:06 +0000 (17:08 +0200)]
libvisual: Rename get_type() function to prevent conflicts with static linking

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

10 years agoRelease 1.3.90
Sebastian Dröge [Sat, 28 Jun 2014 09:01:13 +0000 (11:01 +0200)]
Release 1.3.90

10 years agoUpdate .po files
Sebastian Dröge [Sat, 28 Jun 2014 08:56:36 +0000 (10:56 +0200)]
Update .po files

10 years agoplaysinkconvertbin: fix caps leak
Thiago Santos [Fri, 27 Jun 2014 17:24:10 +0000 (14:24 -0300)]
playsinkconvertbin: fix caps leak

Let go the reference to the converter caps after using it

10 years agotools: add gst-device-monitor-1.0 utility
Tim-Philipp Müller [Fri, 27 Jun 2014 09:41:55 +0000 (10:41 +0100)]
tools: add gst-device-monitor-1.0 utility

Just shows devices with basic info and exits. Or will
wait for more devices to show up or be removed with
the --follow option. It's also possible to pass filters
as command line arguments in the form DEVICE_CLASSES
or DEVICE_CLASSES:CAPS.

10 years agolibs: There is no G_TYPE_CHECK_INTERFACE_TYPE and G_TYPE_CHECK_INTERFACE_CAST
Sebastian Dröge [Thu, 26 Jun 2014 14:18:05 +0000 (16:18 +0200)]
libs: There is no G_TYPE_CHECK_INTERFACE_TYPE and G_TYPE_CHECK_INTERFACE_CAST

Remove the macros that used them, nobody could've used them anyway.

10 years agopbutils: handle more H.264 profiles and levels.
Gwenole Beauchesne [Thu, 26 Jun 2014 09:35:43 +0000 (11:35 +0200)]
pbutils: handle more H.264 profiles and levels.

Recognize H.264 Level 5.2, as exposed by modern 2160p30+ streams,
i.e. commonly known as 4K. Also add initial support for handling
Annex.G (SVC) profiles.

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
10 years agotypefind: Bump iso mp4 typefinder to PRIMARY. Add mp4 extension hint.
Jan Schmidt [Wed, 25 Jun 2014 18:27:31 +0000 (04:27 +1000)]
typefind: Bump iso mp4 typefinder to PRIMARY. Add mp4 extension hint.

Fixes a problem with at least one file being detected incorrectly as
DTS because there's DTS packets early enough in the file.

10 years agotests: fix vararg handling in rtpbasedepayload unit test
Tim-Philipp Müller [Mon, 23 Jun 2014 00:02:22 +0000 (01:02 +0100)]
tests: fix vararg handling in rtpbasedepayload unit test

Makes it pass on 32-bit systems.

10 years agotests: fix vararg handling in rtpbasepayload unit test
Tim-Philipp Müller [Sun, 22 Jun 2014 23:33:18 +0000 (00:33 +0100)]
tests: fix vararg handling in rtpbasepayload unit test

Makes it pass on 32-bit systems.

10 years agoplaysinkconvertbin: Filter out ANY capsfeatures from the converter caps
Sebastian Dröge [Sun, 22 Jun 2014 18:42:13 +0000 (20:42 +0200)]
playsinkconvertbin: Filter out ANY capsfeatures from the converter caps

We can't convert to ANY capsfeatures, they are only there so that we
can passthrough whatever downstream can support... but we definitely
don't want to return them to upstream.

10 years agoBack to development
Sebastian Dröge [Sun, 22 Jun 2014 17:36:14 +0000 (19:36 +0200)]
Back to development