Commit graph

2682 commits

Author SHA1 Message Date
Sebastian Dröge
7a0d219862 Release 1.1.4 2013-08-28 12:36:16 +02:00
Thiago Santos
581c4297d0 dataqueue: add gst_data_queue_push_force
Adds a variant of the _push function that doesn't check the queue limits
before adding the new item. It is useful when pushing an element to the
queue shouldn't lock the thread.

One particular scenario is when the queue is used to serialize buffers
and events that are going to be pushed from another thread. The
dataqueue should have a limit on the amount of buffers to be stored to
avoid large memory consumption, but events can be considered to have
negligible impact on memory compared to buffers. So it is useful to be
used to push items into the queue that contain events, even though the
queue is already full, it shouldn't matter inserting an item that has
no significative size.

This scenario happens on adaptive elements (dashdemux / mssdemux) as
there is a single download thread fetching buffers and putting into the
dataqueues for the streams. This same download thread can als generate
events in some situations as caps changes, eos or a internal control
events. There can be a deadlock at preroll if the first buffer fetched
is large enough to fill the dataqueue and the download thread and the
next iteration of the download thread decides to push an event to this
same dataqueue before fetching buffers to other streams, if this push
locks, the pipeline will be stuck in preroll as no more buffers will be
downloaded.
There is a somewhat common practice in dash streams to have a single
very large buffer for audio and one for video, so this will always
happen as the download thread will have to push an EOS right after
fetching the first buffer for any stream.

API: gst_data_queue_push_force

https://bugzilla.gnome.org/show_bug.cgi?id=705694
2013-08-13 12:00:48 -03:00
Wim Taymans
9920f37f69 design: fix typo 2013-08-02 16:24:31 +02:00
Sebastian Dröge
5af3380860 Release 1.1.3 2013-07-29 13:34:53 +02:00
Sebastian Dröge
75d9454bf4 gst: Add new group-id field to the stream-start event
All streams that have the same group id are supposed to be played
together, i.e. all streams inside a container file should have the
same group id but different stream ids. The group id should change
each time the stream is started, resulting in different group ids
each time a file is played for example.
2013-07-22 15:30:10 +02:00
Руслан Ижбулатов
797fcd1d49 info: Add debug color mode option
This allows to explicitely set the debug output color
mode to UNIX on every platform, enable it (use platform
default color mode) or enable it.

https://bugzilla.gnome.org/show_bug.cgi?id=674320
2013-07-18 14:30:44 +02:00
Sebastian Dröge
356ef049d3 query: Add gst_query_has_context_type() 2013-07-16 15:16:16 +02:00
Sebastian Dröge
dd9ebd3ed0 Release 1.1.2 2013-07-11 15:12:39 +02:00
Jonas Holmberg
0ea8748c6b check: Added gst_check_setup_events_with_stream_id()
Added a new function gst_check_setup_events_with_stream_id(), since
gst_check_setup_events() does not work with multiple pads.

https://bugzilla.gnome.org/show_bug.cgi?id=703377
2013-07-01 15:54:11 +02:00
Stefan Sauer
1de0c60c1a docs: add missing file for doc-link check 2013-06-18 11:40:28 +02:00
Stefan Sauer
6ca26e9a00 docs: fix some external links 2013-06-16 15:07:35 +02:00
Stefan Sauer
128763bb74 docs: check for broken links in docs
The check is done using curl (if available). It lists the curl exit code + http
status code (for those > 399) together with the use of the url in the code. The
check is not fatal.
2013-06-16 14:45:08 +02:00
Stefan Sauer
1dea024564 docs: change https to http urls
Thank you browser for needlessly changing to https for static doc pages.
2013-06-16 13:05:21 +02:00
Stefan Sauer
eba146a5f4 docs: update links to developer.gnome.org
The URL layout has changed. Fix the links and comment out one paragraph where
the doc is gone.
Fixes #702135
2013-06-16 11:45:18 +02:00
Sebastian Dröge
bd48ba333d structure: Add gst_structure_new_from_string()
Convenience API for bindings, gst_structure_from_string() returns
a tuple (structure, end_ptr) in bindings and is unintuitive to use
because of that.
2013-06-14 13:05:38 +02:00
Sebastian Dröge
f50d555755 Release 1.1.1 2013-06-05 18:33:12 +02:00
Andrzej Bieniek
0a32b1e2d6 manual: update elements to match the rest of "Boost priority of a thread" section 2013-06-01 20:10:38 +01:00
Andrzej Bieniek
40d76021ba manual: fix comment in effectswitch example 2013-06-01 20:10:37 +01:00
Andrzej Bieniek
78f4fecff3 manual: fix a typo in "Inserting data with appsrc" section 2013-06-01 20:10:37 +01:00
Andrzej Bieniek
4f11b70ea7 pwg: fix a few typos 2013-06-01 20:10:37 +01:00
Andrzej Bieniek
55c4db6295 docs: remove double "the" 2013-06-01 20:10:36 +01:00
Olivier Crête
bd5708a0cd docs: Remove mention of gconf* elements
Instead recommend pulsesrc/sink for audio, there is nothing GNOME
specific for video.
2013-05-24 16:25:09 +09:00
Nicolas Dufresne
a1866e64c5 check: Add helper that sends initial events
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-10 09:23:28 +02:00
Tim-Philipp Müller
dc6aabfc55 docs: fix typo in metadata section in app dev manual
There's no g_tag_list_get_xyz().
2013-05-07 15:18:06 +01:00
Stefan Sauer
a2170fc7b8 porting-to-1.0.txt: nit clarification
It is the process context that matters.
2013-04-29 21:12:42 +02:00
Wim Taymans
25fc832d49 pwg: improve allocation docs 2013-04-27 20:34:43 +02:00
Tim-Philipp Müller
1905219235 porting-to-1.0.txt: add troubleshooting section
Add note about "cannot register existing type `GstObject'" warning.
2013-04-24 12:30:07 +01:00
Sebastian Dröge
ce8cb1f1b3 part-context: Write some design documentation about GstContext 2013-04-19 15:01:20 +02:00
Sebastian Dröge
eaf1f0db99 part-caps: Add more information about caps features, caps semantics and how to use them 2013-04-19 13:22:48 +02:00
Sebastian Dröge
7ae54c34e5 capsfeatures: Add documentation about ANY GstCapsFeatures 2013-04-19 11:24:38 +02:00
Sebastian Dröge
03c3738b67 context: Add gst_context_writable_structure() and let get_structure() return const again 2013-04-18 10:18:22 +02:00
Philippe Normand
54c678a21e query: new _BANDWIDTH_LIMITED flag
Source elements with limited bandwidth capabilities and supporting
buffering for downstream elements should set this flag when answering
a scheduling query. This is useful for the on-disk buffering scenario
of uridecodebin to avoid checking the URI protocol against a list of
hardcoded protocols.

Bug 693484
2013-04-16 16:52:08 +02:00
Tim-Philipp Müller
4997fd9f94 docs: fix missing flacdec in porting-to-1.0 pipeline example 2013-04-16 09:55:00 +01:00
Tim-Philipp Müller
9dd28ae13b docs: add note about decoders and parsers to porting-to-1.0 doc 2013-04-16 09:03:52 +01:00
Douglas Bagnall
142a55042f manual: Patch manual to refer to porting guide
https://bugzilla.gnome.org/show_bug.cgi?id=697845
2013-04-15 09:27:15 +02:00
Tim-Philipp Müller
7b19944280 info: use new internal printf for debug message printing
and remove all the printf extension/specifier stuff for
the system printf. Next we need to add back the custom
specifiers to our own printf implementation.

https://bugzilla.gnome.org/show_bug.cgi?id=613081
2013-04-12 23:05:57 +01:00
Tim-Philipp Müller
ea69c642bf docs: document type change of playbin's connection-speed property in porting docs 2013-04-11 22:32:39 +01:00
Douglas Bagnall
e62abd3f2f Toggle upstream and downstream in RECONFIGURE paragraph. 2013-04-11 10:42:39 +02:00
Руслан Ижбулатов
0168411031 Use xlstproc instead of docbook2html 2013-04-09 20:58:30 +02:00
Brendan Long
71787d40f3 porting-to-1.0.txt: subtitle text media types changed as well
https://bugzilla.gnome.org/show_bug.cgi?id=697153
2013-04-03 10:19:54 +01:00
Sebastian Dröge
65c650d7d4 capsfeatures: Add GST_CAPS_FEATURES_ANY
This is equal to any other caps features but results in unfixed caps. It
would be used by elements that only look at the buffer metadata or are
currently working in passthrough mode, and as such don't care about any
specific features.
2013-04-02 22:17:22 +02:00
Stefan Sauer
5b5774b399 draft-tracing: update draft design with timer ideas 2013-04-01 18:00:54 +02:00
Sebastian Dröge
c989ff928b design: Add the caps features and describe how the caps operations actually work 2013-03-31 19:09:46 +02:00
Sebastian Dröge
7477b25df5 caps: Add new data type for handling caps features to the caps
These are meant to specify features in caps that are required
for a specific structure, for example a specific memory type
or meta.

Semantically they could be though of as an extension of the media
type name of the structures and are handled exactly like that.
2013-03-31 18:15:52 +02:00
Tim-Philipp Müller
0e5c1dcf64 event: add stream flags to stream-start event
API: gst_event_set_stream_flags()
API: gst_event_parse_stream_flags()
API: GST_STREAM_FLAG_NONE
API: GST_STREAM_FLAG_SPARSE

https://bugzilla.gnome.org/show_bug.cgi?id=600648
2013-03-31 11:47:40 +01:00
Sebastian Dröge
dd831b8114 element: Add API to get the last set context from an element
Elements should override GstElement::set_context() and also call
gst_element_set_context() to keep this context up-to-date with
the very latest context they internally use.
2013-03-31 11:26:32 +02:00
Stefan Sauer
782511d8f6 design: add initial tracing design doc 2013-03-30 14:13:10 +01:00
Edward Hervey
8c542540c2 Revert "pwg: Fix example"
This reverts commit 5d64f27d88.

*sigh*
2013-03-29 18:49:14 +01:00
Edward Hervey
5d64f27d88 pwg: Fix example 2013-03-29 18:46:18 +01:00
Sebastian Dröge
b909061031 gst: Add new GstContext miniobject for sharing contexts in a pipeline 2013-03-29 16:40:21 +01:00