Evan Nemerson
1fe6d3ad08
introspection: fix some minor annotation bugs
...
https://bugzilla.gnome.org/show_bug.cgi?id=730982
2014-06-06 15:15:12 -04:00
Evan Nemerson
25af4ad652
base: use correct syntax in documentation more consistently
...
Previously, many constants were prefixed with # or unprefixed,
some functions and macros were prefixed with # instead of suffixed
with (), etc.
https://bugzilla.gnome.org/show_bug.cgi?id=731293
2014-06-06 15:09:21 -04:00
zhouming
2793f808ee
baseparse: Pass rate of input segment to output segment
...
https://bugzilla.gnome.org/show_bug.cgi?id=729701
2014-06-06 13:53:35 +03:00
Vincent Penquerc'h
a8ca56b42d
gstbuffer: factor three flags-to-string loops
2014-06-04 12:30:36 +01:00
Tim-Philipp Müller
b65a7a7034
info: make printing datetimes work with GST_PTR_FORMAT
2014-06-03 23:49:26 +01:00
Tim-Philipp Müller
8998cf840d
datetime: change internal implementation to mini object
...
And move type stuff from GstValue to GstDateTime.
2014-06-03 23:49:21 +01:00
Wim Taymans
f446280740
downloadbuffer: fix uninitialized variable
2014-06-03 22:19:33 +02:00
Wim Taymans
45c61db152
downloadbuffer: improve start/stop in buffering query
...
The start and stop should represent the currently downloading region.
The estimated-total should represent the remaining time to download
the currently downloading region. This makes it a lot more useful
for applications because they can then use those values to update
the fill region and use the estimated time to delay playback.
Update the docs with this clarification.
2014-06-03 22:17:17 +02:00
Vincent Penquerc'h
557bb0de16
identity: add static and const where appropriate
2014-06-03 15:36:15 +01:00
Vincent Penquerc'h
1e063bc6e6
identity: fix potential buffer overflow
...
Coverity 1037155
2014-06-03 15:36:11 +01:00
Wim Taymans
8cbc35a93d
downloadbuffer: reset read and write positions
...
Reset the read and write positions right after we open the file or flush
it. We are also in the buffering state with 0 percent buffered when we
start.
2014-06-03 14:49:44 +02:00
Wim Taymans
36d4c4c218
info: first handle all miniobjects, then GObjects
...
First handle all miniobjects before we attempt to dereference the first
field pointer and look at the GType. With the recent glib change to
speed up G_IS_OBJECT, this causes crashes on miniobjects otherwise.
2014-06-03 14:47:17 +02:00
Wim Taymans
460be3e124
info: GstDateTime does not have a GType as first field
...
GstDateTime does not have the GType as the first field so we can't use
it to detect its type.
2014-06-03 14:46:11 +02:00
Wim Taymans
e457739ac9
info: use macros to check types
...
Use the macros to check the type of objects instead of directly poking
at the first field.
2014-06-03 14:45:22 +02:00
Tim-Philipp Müller
64c71323a6
globaldevicemonitor: connect sync-message signal on the right object
...
Fixes criticals at runtime and makes stuff actually work.
2014-06-01 23:51:20 +01:00
Sebastian Dröge
a91b51c9b7
typefind: Keep still meaningfull pending events on FLUSH_STOP
...
Only EOS and segment should be deleted in that case.
https://bugzilla.gnome.org/show_bug.cgi?id=709868
2014-05-31 17:35:52 +02:00
Sebastian Dröge
066fdcd432
Revert "miniobject: Add missing (nullable) annotations"
...
This reverts commit 96361e9b5c
.
This was not supposed to be pushed yet!
2014-05-30 09:13:16 +02:00
Sebastian Dröge
67138f4ee8
bufferpool: It's pool, not poo... even when talking about flushing
2014-05-30 09:12:50 +02:00
Philip Withnall
96361e9b5c
miniobject: Add missing (nullable) annotations
...
gst_mini_object_replace() can take NULL mini-objects.
https://bugzilla.gnome.org/show_bug.cgi?id=730873
2014-05-30 09:12:49 +02:00
Thiago Santos
baf1688474
tests: multiqueue: fix leaks
2014-05-30 01:42:17 -03:00
Evan Nemerson
e10266e3f3
docs: convert NULL, TRUE, and FALSE to %NULL, %TRUE, and %FALSE
...
This should help improve documentation generated for
languages other than C.
https://bugzilla.gnome.org/show_bug.cgi?id=730961
2014-05-30 00:20:27 +01:00
Tim-Philipp Müller
88191aa880
docs: fix type in GstObject docs
2014-05-30 00:14:01 +01:00
Evan Nemerson
4397150d54
bufferpool: fix gst_buffer_pool_has_option() documentation
...
https://bugzilla.gnome.org/show_bug.cgi?id=730962
2014-05-29 23:18:18 +01:00
Thiago Santos
1911554cff
element: set pads need-parent flag to false when removing
...
When a pad is added the need-parent flag is set to true, so when
they are removed the flag should be set back to false
This was preventing GstPads to be reused in elements (removed and
later re-added). A unit tests was added to verify that this is
working now.
The use case is tsdemux that has a program-number property and
allows the user to switch programs. In order to do that tsdemux
will remove the pads of the current program and add from the new
ones. The removed pads are kept in the demuxer for later if the
user selects the old program again.
2014-05-29 17:01:20 -03:00
Thiago Santos
01c9ae2630
multiqueue: post buffering message when queues flush
...
The buffering status goes back to 0, so inform the application about it
https://bugzilla.gnome.org/show_bug.cgi?id=726423
2014-05-29 16:51:41 -03:00
Nicolas Dufresne
9abc55491d
gitignore: Ignore VIM swap files
2014-05-29 14:39:36 -04:00
Tim-Philipp Müller
ba3073ffce
pad: two minor docs fixes
2014-05-27 13:37:05 +01:00
Tim-Philipp Müller
2f265b7571
flowcombiner: beautify headers a little
2014-05-27 10:09:02 +01:00
Tim-Philipp Müller
a6d9c1a3c3
docs: add GstFlowCombiner
2014-05-27 10:05:51 +01:00
Tim-Philipp Müller
0b194cf664
base: include flowcombiner header from base.h
2014-05-27 09:55:27 +01:00
Thiago Santos
9e8bd15c12
flowcombiner: add GstFlowCombiner
...
Adds a utility struct that is capable of storing and aggregating flow returns
associated with pads.
This way all demuxers will have a standard function to use and have the
same expected results.
Includes tests.
https://bugzilla.gnome.org/show_bug.cgi?id=709224
2014-05-26 15:29:53 -03:00
Thiago Santos
c6f92562b6
pad: store last flow return and provide acessor function
...
Stores the last result of a gst_pad_push or a pull on the GstPad and provides
a getter and a macro to access this field.
Whenever the pad is inactive it is set to FLUSHING
API: gst_pad_get_last_flow_return
https://bugzilla.gnome.org/show_bug.cgi?id=709224
2014-05-26 15:29:53 -03:00
Nicolas Dufresne
103a40b6ce
bufferpool: Add method and virtuals to set flushing state
...
Currently there is no other way to unlock a buffer pool other then
stopping it. This may have the effect of freeing all the buffers,
which is too heavy for a seek. This patch add a method to enter and
leave flushing state. As a convenience, flush_start/flush_stop
virtual are added so pool implementation can also unblock their own
internal poll atomically with the rest of the pool. This is fully
backward compatible with doing stop/start to actually flush the pool
(as being done in GstBaseSrc).
https://bugzilla.gnome.org/show_bug.cgi?id=727611
2014-05-26 13:31:21 -04:00
Sebastian Dröge
70b38dd937
basetransform: Passthrough ALLOCATION queries in passthrough mode even if we had no caps yet
...
Or if the element does not care about caps at all.
Also remove an assigned but unused local variable.
https://bugzilla.gnome.org/show_bug.cgi?id=710268
2014-05-26 14:24:15 +02:00
Tim-Philipp Müller
f52c7d0b35
po: update
2014-05-25 16:10:30 +01:00
Piotr Drąg
70d2564ccf
po: update POTFILES
...
https://bugzilla.gnome.org/show_bug.cgi?id=730718
2014-05-25 16:07:52 +01:00
Sebastian Dröge
683a6ee663
Back to development
2014-05-21 13:23:21 +02:00
Sebastian Dröge
07334eca5a
Release 1.3.2
2014-05-21 13:06:34 +02:00
Sebastian Dröge
0e7a388c09
Update .po files
2014-05-21 11:39:53 +02:00
Sebastian Dröge
44ce8f73a1
Automatic update of common submodule
...
From 211fa5f to 1f5d3c3
2014-05-21 10:50:43 +02:00
Sebastian Dröge
f2cb36b995
value: Add some positive testcase for string deserialization
2014-05-19 11:05:12 +02:00
Tim-Philipp Müller
1cb650383d
docs: remove reference to Mandrake and packages we no longer provide
...
https://bugzilla.gnome.org/show_bug.cgi?id=730312
2014-05-18 10:54:33 +01:00
Wim Taymans
7e60572425
docs: fix typo
2014-05-15 16:41:58 +02:00
Tim-Philipp Müller
48b608337b
pluginloader: fix compiler warning on windows
...
gstpluginloader.c:584:1: error: label 'beach' defined but not used
https://bugzilla.gnome.org/show_bug.cgi?id=730125
2014-05-14 13:40:03 +01:00
Tim-Philipp Müller
f28a4cc671
elements: don't depend on libgio just for g_io_error_from_errno()
...
https://bugzilla.gnome.org/show_bug.cgi?id=729949
2014-05-13 20:06:48 +01:00
Tim-Philipp Müller
fa94322349
sparsefile: keep it private as helper API for downloadbuffer
...
There's no expectation that any other element or applications
might want to use this helper API any time soon, so keep it
private for the time being. There were open questions regarding
portability and binding-friendliness too.
This also removes the gio dependency of -base again.
https://bugzilla.gnome.org/show_bug.cgi?id=729951
https://bugzilla.gnome.org/show_bug.cgi?id=729949
2014-05-13 20:05:55 +01:00
Tim-Philipp Müller
b17ea57223
docs: pick up GstBaseParse hierarchy and properties
2014-05-13 19:14:08 +01:00
Tim-Philipp Müller
de6968de7f
docs: expose GstPushSrcClass in documentation
...
Might come in handy in case someone wants to derive from it.
2014-05-13 19:10:43 +01:00
Edward Hervey
c7d68da704
pluginloader: Don't leak pluginloader in error cases
...
CID #1212154
2014-05-12 17:03:46 +02:00
Edward Hervey
25bcc2d7f6
caps: Don't leak features on error cases
...
If we fail to parse fields, we would end up leaking the features we
parsed just before
CID #1212152
2014-05-12 16:59:29 +02:00