Sebastian Dröge
c343ebd454
multiqueue: Allow growing a queue if all other queues are not linked
...
See https://bugzilla.gnome.org/show_bug.cgi?id=719893
2014-01-08 09:54:01 +01:00
Wim Taymans
c80ea6895d
filesrc: don't try to seek to -1 offset
...
The offset can be -1 when we are configured in TIME format. Instead of
failing the seek and erroring, do what and offset of -1 is supposed to
do and simply read from the current offset.
2014-01-07 16:18:37 +01:00
Stefan Sauer
74adc33982
basesrc: demote error to warning
...
This is not an error. A subclass returning FALSE for is_seekable() is one way of
saying that we can't operate in pull mode.
2014-01-06 21:10:33 +01:00
YanpingZhang
1de533735b
multiqueue: Fix hanging if shut down while handling a serialized query
...
https://bugzilla.gnome.org/show_bug.cgi?id=721253
2014-01-03 11:15:33 +01:00
Thiago Santos
e02c00a58a
baseparse: remove pending_segment as it was being misused
...
It wasn't required, instead baseparse was using it to check the media
caps to identify if it was handling audio or video.
The pending_segment was removed and a checked_media boolean
replaced it for a more accurate naming.
https://bugzilla.gnome.org/show_bug.cgi?id=721350
2014-01-02 16:48:23 -03:00
Thiago Santos
accaadf52a
baseparse: push pending events before GAP event
...
A GAP event is handled as an empty buffer by sinks and they expect
to receive start up events before GAP events (like a segment).
This is important specially if there is a GAP at the beginning of
a stream (before any buffers) so that the segment event can be
pushed downstream before the GAP
https://bugzilla.gnome.org/show_bug.cgi?id=721350
2014-01-02 16:38:40 -03:00
Thiago Santos
d917eb7160
baseparse: refactor pending events pushing
...
Refactor code repeated 3 times to a common function
https://bugzilla.gnome.org/show_bug.cgi?id=721350
2014-01-02 16:38:40 -03:00
Stefan Sauer
fb2140b627
design/part-toc.txt: update design docs
2014-01-02 20:18:36 +01:00
Sebastian Dröge
9e125e7bab
pad: Add unit test for adding/removing blocking probes while a pad is blocked
...
And make sure that these new probes are actually called if they should
instead of silently blocking the pad forever.
https://bugzilla.gnome.org/show_bug.cgi?id=721289
2014-01-02 13:34:52 +01:00
Sebastian Dröge
93ce90f833
pad: Check if new probes need to be called when adding/removing some
...
This allows blocking a pad, add a new blocking probe, removing
the first probe and then having the second probe called. Which
could then decide that data-flow should actually continue
instead of blocking now.
https://bugzilla.gnome.org/show_bug.cgi?id=721289
2014-01-02 13:33:20 +01:00
Sebastian Dröge
34f8b4d6f3
tee: Remove dyn lock
...
It was used for pad-alloc in 0.10 but currently is completely unused
and not necessary. All pad access is protected by the tee object lock
and keeping another reference to the current pad.
2014-01-02 11:13:27 +01:00
Sebastian Dröge
e80fd39947
tee: Keep another ref to our one and only srcpad around while pushing
...
A pad probe on that pad might otherwise just release the pad, drop
the last reference and cause great misery.
https://bugzilla.gnome.org/show_bug.cgi?id=721300
2014-01-02 11:09:59 +01:00
Sebastian Dröge
d04c8b6d2e
pad: Keep an extra ref of the pad when calling an IDLE probe immediately
...
The callback might destroy the pad.
2013-12-30 19:03:22 +01:00
Sebastian Dröge
0324358ebc
pad: Only call IDLE probes if we are actually idle
...
Also only check the data types for non-IDLE probes. When we
are idle, we have no data type obviously.
Previously we were calling IDLE probes during data flow whenever
a non-blocking probe would be called. The pad was usually not idle
at that time.
2013-12-30 18:53:36 +01:00
Tim-Philipp Müller
2ddbe8df49
nettimeprovider: remove unnecessary NULL check
...
Error is never NULL when we break out of the loop.
COVERITY CID 1037151
2013-12-30 16:10:08 +00:00
Tim-Philipp Müller
0735c052e1
Revert "nettimeprovider: Remove dead code"
...
This reverts commit 9649cd4ca1
.
This is not right, and it's also not what coverity
is complaining about.
2013-12-30 16:07:08 +00:00
Edward Hervey
af6fd4f5bb
queue: Remove unneeded checks
...
item is guaranteed to be non-null.
COVERITY CID 1037152
COVERITY CID 1037153
2013-12-30 16:51:01 +01:00
Edward Hervey
9649cd4ca1
nettimeprovider: Remove dead code
...
err is always NULL by the point we reach this line
COVERITY CID 1037151
2013-12-30 16:51:01 +01:00
Stefan Sauer
b571f3ad7d
taglist: fix since marker again (1.3 -> 1.4)
...
Since markers should point to the appropriate stable version.
2013-12-30 14:47:19 +01:00
Stefan Sauer
e8023bf470
taglist: fix since-marker in docs (we're in 1.3.X)
2013-12-30 14:40:40 +01:00
Stefan Sauer
cb218f2827
taglist: add a tag for midi base note numbers
...
Audio files containing sampled instruments can have metadata describing the note
that was played on the instrument.
2013-12-30 14:22:37 +01:00
Sebastian Dröge
901cd5560c
pad: Don't ignore probe callback return value when immediately calling IDLE probe
...
https://bugzilla.gnome.org/show_bug.cgi?id=721096
2013-12-30 10:53:09 +01:00
Pedro Côrte-Real
e5067fd9aa
scripts: git-update.sh: fix for non-master branches
...
Pull from tracking branch instead of origin/master, so
that this works with e.g. 1.2 as well.
2013-12-29 14:09:24 +00:00
Sebastian Dröge
c3181fa5df
parse: Use GLib malloc/free/realloc functions
...
https://bugzilla.gnome.org/show_bug.cgi?id=720100
2013-12-27 12:55:40 +01:00
Tim-Philipp Müller
d2e5953643
scripts: create-uninstalled-setup: re-use existing master branch if it exists
...
When creating separate checkout for non-master branches.
2013-12-26 12:17:06 +00:00
Erik Andresen
2cbab400b2
docs: fix memory leak of appsink example in manual
...
https://bugzilla.gnome.org/show_bug.cgi?id=721076
2013-12-26 11:21:29 +00:00
Tim-Philipp Müller
b03361ac38
Automatic update of common submodule
...
From dbedaa0 to d48bed3
2013-12-22 22:33:12 +00:00
Tim-Philipp Müller
a4459ef372
po: update for string changes
2013-12-22 22:04:37 +00:00
Tim-Philipp Müller
cd26b32822
po: set gettext domain in Makevars so we don't have to patch the generated Makefile.in.in
...
https://bugzilla.gnome.org/show_bug.cgi?id=705455
2013-12-22 21:58:03 +00:00
Wim Taymans
62932b17d7
utils: Add round down 128 macro for completeness
2013-12-20 14:43:57 +01:00
Nicolas Dufresne
59bb1f58bb
utils: Add round up 128 macro
2013-12-20 14:43:57 +01:00
Sebastian Dröge
0199cd5dbf
funnel: Setting the PROXY_CAPS flag on the srcpad does not make much sense
...
funnel outputs whatever one of the upstreams currently outputs, a caps
query to a random upstream does not give the right answer here.
2013-12-20 14:30:22 +01:00
Sebastian Dröge
5937199726
funnel: Proxy CAPS and ALLOCATION queries
2013-12-20 11:38:18 +01:00
Thiago Santos
1f71f191be
multiqueue: post 100% buffering if single queue is not linked
...
This makes buffering stop in case a stream switch happens. This is
important for adaptive streams that can disable not-linked streams
to avoid consuming the network bandwidth.
https://bugzilla.gnome.org/show_bug.cgi?id=719575
2013-12-20 01:10:47 -03:00
William Jon McCann
26df7fa26d
docs: fix project links
...
https://bugzilla.gnome.org/show_bug.cgi?id=720665
2013-12-18 11:43:35 +00:00
David Svensson Fors
892d36211f
basesrc: use segment start if DTS for first buffer is unset
...
https://bugzilla.gnome.org/show_bug.cgi?id=720199
2013-12-17 10:47:55 +01:00
Matthieu Bouron
f7da59dd9f
gst-uninstalled: add gstreamer-vaapi paths
...
https://bugzilla.gnome.org/show_bug.cgi?id=720337
2013-12-16 13:12:34 +01:00
Tim-Philipp Müller
430df345c4
tests: add unit test for bitreader, bytereader and bytewriter with no inlining used
2013-12-14 21:20:45 +00:00
Tim-Philipp Müller
fcfe7085b9
bytereader: add inline variant of gst_byte_reader_init()
2013-12-14 18:38:41 +00:00
Tim-Philipp Müller
a6010a9155
docs: fix docs for gst_queue_array_peek_head()
2013-12-14 18:31:38 +00:00
Sebastian Dröge
a400dd2f47
parse: Don't define yyscan_t twice
...
https://bugzilla.gnome.org/show_bug.cgi?id=720316
2013-12-14 19:09:05 +01:00
Tim-Philipp Müller
d92361ba52
docs: moving plugins: minor 0.10 -> 1.0 fix
...
Spotted by Jay Fenlason
2013-12-13 22:52:05 +00:00
Wim Taymans
e5a73cc2ff
queue: don't ignore event return value
...
Pass the event return value upstream.
Remove strange goto construct.
2013-12-11 14:52:25 +01:00
Edward Hervey
12b3a37b5e
gst-launch: Handle taglist copy failure
...
If we couldn't copy the tags, just return instead of trying to use bogus
values.
2013-12-10 18:30:03 -05:00
Edward Hervey
60b94c6498
gst-inspect: Index features are no more
...
So remove code that will never be used
2013-12-10 18:25:22 -05:00
Edward Hervey
3ea6b04c10
gstvalue: Fix comparision of double range
...
Checking twice the lower bound is great (you never know, it might change
between the two calls by someone using emacs butterfly-mode), but it's a bit
more useful to check the higher bound are also identical.
Detected by Coverity
2013-12-10 18:01:52 -05:00
Edward Hervey
b363ab17e7
controller: Fix out-of-bounds detection
...
We want to abort if we higher than the maximum *OR* lower than the minimum
accepted value.
Detected by Coverity.
2013-12-10 17:09:07 -05:00
Tim-Philipp Müller
9a62f007fc
tests: add unit test for registering the same category twice
2013-12-07 19:04:16 +00:00
Víctor Manuel Jáquez Leal
24a766a13b
info: return existing category if a debug category is registered twice
...
If a category with the same name is found when creating a new
one, the found category is returned instead of an invalid pointer.
Fixes issue with gst-vaapi (which uses an internal copy of the
codec parsers) caused by commit ccba9130
.
https://bugzilla.gnome.org/show_bug.cgi?id=720036
2013-12-07 19:03:23 +00:00
Sebastian Rasmussen
53ae1b2c9c
docs: Fix typos in function/object descriptions
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=720029
2013-12-07 17:11:12 +00:00