Tim-Philipp Müller
e43ebd685d
dataqueue: reduce debug log spam a bit
...
Log locking/unlocking with TRACE debug level.
2012-11-25 18:11:38 +00:00
Alessandro Decina
b6c13c7557
event: fix annotation for gst_event_parse_stream_start
2012-11-23 21:10:55 +01:00
Tim-Philipp Müller
374cc3ff06
pad: document more pad probe values
2012-11-23 13:36:09 +00:00
Tim-Philipp Müller
b9386d7659
testclock: remove unnecessary include
2012-11-23 13:34:24 +00:00
Tim-Philipp Müller
2d85c0f18c
tests: fix clock unit test build failure after header changes
...
https://bugzilla.gnome.org/show_bug.cgi?id=688785
2012-11-23 13:32:07 +00:00
Tim-Philipp Müller
32f96b922b
pad: don't use parenthesis for ORed pad probe flag enums
...
glib-mkenum doesn't like them for some reason.
https://bugzilla.gnome.org/show_bug.cgi?id=688804
2012-11-23 12:47:25 +00:00
Olivier Crête
fba984c350
pad: Put all of the probe types in the enum so they work with bindings
...
https://bugzilla.gnome.org/show_bug.cgi?id=688804
2012-11-23 13:30:15 +01:00
Evan Nemerson
1afb1f12ef
libs: Add missing single include headers and use them in GIRs
2012-11-21 11:00:40 +01:00
Wim Taymans
aa777bb315
tests: don't use deprecated thread API
2012-11-20 16:34:28 +01:00
Wim Taymans
ffd64becb1
basesink: add some debug
2012-11-20 16:23:56 +01:00
Wim Taymans
1471489104
basesink: reset START_TIME when needed
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=685870
2012-11-20 16:23:56 +01:00
Sebastian Dröge
cf6cfdc058
value: Make G-I happy by hiding gst_g_thread_get_type()
2012-11-20 15:39:35 +01:00
Christian Fredrik Kalager Schaller
6be993d0a9
Remove xfig from spec file
2012-11-20 15:08:08 +01:00
Sebastian Dröge
da0f9977f0
value: Use the GLib GType for GThread if compiling against GLib 2.35.3 or newer
2012-11-20 15:06:14 +01:00
Sebastian Dröge
9326124581
gst: Don't set the locale in gst_init()
...
The function init_pre() in gstreamer/gst/gst.c calls setlocale(LC_ALL, ""),
which sets the locale to the values specified in the environment. This is
wrong for two reasons:
1. It is absolutely not the task of a library to decide on the correct locale
for a program. Some programs change the locale for various (good or bad)
reasons, and libraries should respect that. Programs where GStreamer's
overwriting of the locale causes bugs include Emacs [1, 2], Sublime Text [3],
and Lua [4].
[1] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12392
[2] http://bugzilla.novell.com/show_bug.cgi?id=779426
[3] http://www.sublimetext.com/forum/viewtopic.php?f=3&t=8543
[4] https://github.com/pavouk/lgi/issues/19
Note that setting the locale can cause problems for programs that are not even
linked against GStreamer. In the case of Emacs, for example, GStreamer seems
to be initialized through GTK via libcanberra.
2. Setting the locale is not thread-safe, and therefore should not be done in a
library.
https://bugzilla.gnome.org/show_bug.cgi?id=685650
2012-11-20 12:56:12 +01:00
Arnaud Vrac
94185ec94a
baseparse: forward stream-start event in push mode
2012-11-20 12:46:31 +01:00
Christian Fredrik Kalager Schaller
9301305cd6
Remove two last .fig files from build, they are now replaced with .svg files. That said I don't think either .fig file was still being used anywhere. With this
...
change and the one in common GStreamer no longer depends on xfig.
2012-11-19 13:38:30 +01:00
Christian Fredrik Kalager Schaller
d447b636a0
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gstreamer
2012-11-19 13:16:48 +01:00
Tim-Philipp Müller
6f30ff8fea
Automatic update of common submodule
...
From b497c4f to a72faea
2012-11-19 11:23:32 +00:00
Christian Fredrik Kalager Schaller
e19a9c4d6f
Add SVG versions of .fig file
2012-11-19 11:45:07 +01:00
Tim-Philipp Müller
82c7b2da51
examples: don't compile testrtpool example if pthreads are not available like on win32
...
Based on patch by: italarab@gmail.com
https://bugzilla.gnome.org/show_bug.cgi?id=688511
2012-11-17 10:28:36 +00:00
Arnaud Vrac
b4a91de1be
inputselector: fix clock leak in wait_running_time
...
https://bugzilla.gnome.org/show_bug.cgi?id=688477
2012-11-17 10:17:58 +00:00
Tim-Philipp Müller
af3a273c08
gstcompat.h: move more deprecated API into the deprecated section
...
https://bugzilla.gnome.org/show_bug.cgi?id=675598
2012-11-17 00:21:37 +00:00
Philippe Normand
de58036de5
task: documentation update
...
GStaticRecMutex usage has been replaced by GRecMutex, reflect this
change in the documentation.
2012-11-14 12:25:30 +01:00
Tim-Philipp Müller
fa368f2aa3
testclock: port to new GLib threading API
2012-11-14 10:55:15 +00:00
Tim-Philipp Müller
abc805ca95
tests: gst_adapter_prev_timestamp -> gst_adapter_prev_pts
...
https://bugzilla.gnome.org/show_bug.cgi?id=675598
2012-11-13 23:11:34 +00:00
Tim-Philipp Müller
c6cc50e6de
testclock: minor cleanups, add since markers for gtk-doc
...
https://bugzilla.gnome.org/show_bug.cgi?id=683012
2012-11-13 22:43:04 +00:00
Sebastian Rasmussen
4eeb471e11
check: allow GstTestClock to handle clock notifications
...
API: gst_test_clock_peek_id_count()
API: gst_test_clock_has_id()
API: gst_test_clock_peek_next_pending_id()
API: gst_test_clock_wait_for_next_pending_id()
API: gst_test_clock_wait_for_pending_id_count()
API: gst_test_clock_process_next_clock_id()
API: gst_test_clock_get_next_entry_time()
https://bugzilla.gnome.org/show_bug.cgi?id=683012
2012-11-13 21:47:01 +00:00
Tim-Philipp Müller
77005be192
check: add dependency on gstcheck header files for exports.sym
...
So exports.sym gets updated correctly, and our new symbols get
exported correctly, which makes g-ir-scanner much happier in
terms of linking.
https://bugzilla.gnome.org/show_bug.cgi?id=683012
2012-11-13 21:46:32 +00:00
Sebastian Rasmussen
e58da2a22d
check: add GstTestClock as a deterministic clock for testing
...
API: GstTestClock
API: gst_test_clock_new()
API: gst_test_clock_new_with_start_time()
API: gst_test_clock_set_time()
API: gst_test_clock_advance_time()
https://bugzilla.gnome.org/show_bug.cgi?id=683012
2012-11-13 21:19:57 +00:00
Tim-Philipp Müller
b1cb17ab2f
basesrc: fix debug message
2012-11-13 20:45:48 +00:00
Tim-Philipp Müller
cf59bacf6d
structure: re-indent header file
...
Tabs to spaces.
2012-11-13 20:45:48 +00:00
Sebastian Dröge
08e0fcd7b2
value: API: Add boxed type for GThread
2012-11-12 11:40:59 +01:00
Sebastian Dröge
2b49726d8e
gst-inspect: Fix indention for printing typefinder features
2012-11-12 10:30:08 +01:00
Sebastian Rasmussen
7691a82f3a
info: fix compiler warning when debugging disabled
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=688130
2012-11-12 09:29:58 +01:00
Alessandro Decina
a47e5c72d0
queue: remove unused label. Fixes compiler warning.
2012-11-10 09:51:10 +01:00
Alessandro Decina
c257b19ead
queue: don't fail in _sink_event for sticky events
...
Implement the same behaviour as gst_pad_push_event when pushing sticky events
fails, that is don't fail immediately but fail when data flow resumes and upstream
can aggregate properly.
This fixes segment seeks with decodebin and unlinked audio or video branches.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=687899
2012-11-09 18:42:16 +01:00
Wim Taymans
d8413cd0a2
basesink: add simple rate control
...
Add a max-bitrate property that will slightly delay rendering of buffers if it
would exceed the maximum defined bitrate. This can be used to do
rate control on network sinks, for example.
API: GstBaseSink::max-bitrate
API: gst_base_sink_set_max_bitrate()
API: gst_base_sink_get_max_bitrate()
2012-11-09 17:01:23 +01:00
Matthew Waters
718b6b2471
bufferpool: lock before unlock in _get_config
...
Fixes deadlock on Windows
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=687896
2012-11-08 09:08:09 +01:00
Tim-Philipp Müller
2e9bc3ba10
configure: update courtesy of autoupdate
2012-11-07 18:15:11 +00:00
Tim-Philipp Müller
8e5b9522a5
common: update for AG_GST_PLUGIN_DOCS python checks
2012-11-07 18:12:35 +00:00
Olivier Crête
1d41a8002b
Document GST_DEBUG_FILE
2012-11-06 18:30:31 +01:00
Tim-Philipp Müller
bfc3982308
gst-inspect: fix alignment of rank, etc.
2012-11-06 17:03:47 +00:00
Tim-Philipp Müller
c99bafae39
elements: fix leading space in plugin description string
2012-11-06 16:58:04 +00:00
Tim-Philipp Müller
666c8c11c6
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 20:44:48 +00:00
Tim-Philipp Müller
af2482b170
queue: add "flush-on-eos" property
...
In flush-on-eos=true mode any data remaining in the queue is
discarded when an EOS event is received, and the EOS passed
downstream as soon as possible (instead of waiting for all
buffers in the queue to get processed by downstream first).
May or may not be useful in capture/encoding scenarios.
2012-10-31 19:33:30 +00:00
Tim-Philipp Müller
bdcb73c91e
common: update for python detection
...
Fixes docs build.
2012-10-31 18:32:49 +00:00
Tim-Philipp Müller
d90d5acdc6
configure: let AG_GST_PLUGIN_DOCS check for python
...
And update common for move from AS_PATH_PYTHON to AM_PATH_PYTHON,
which as a side-effect should pick up newer python versions as well.
https://bugzilla.gnome.org/show_bug.cgi?id=563903
2012-10-31 17:52:20 +00:00
Jan Schmidt
b674a737b0
collectpads: Clarify docs about the buffer handler callback.
...
Clarify that the callback owns a ref on a passed buffer.
2012-10-30 10:04:44 +11:00
Jan Schmidt
698324d48b
multiqueue: Add EOS status to debug output about filled/unfilled
2012-10-30 10:04:14 +11:00