Wim Taymans
f8828eace6
basesink: improve duration calculation
...
Keep track of the average distance between incomming timestamps and
use that to estimate the frame duration when buffers have no duration set on
them.
2011-02-14 15:17:45 +01:00
Wim Taymans
79665e8247
basesink: improve rate calculation
...
When there is no duration on input buffers, assume the rate is 1.0
instead of (the undefined) 0.0.
2011-02-14 15:17:44 +01:00
Wim Taymans
9661a713ba
basesink: improve average duration calculation
...
Improve the calculation of the duration. When we have no input duration set on
the input buffers stop is set to start and then we end up using a 0 duration in
the average calculation.
2011-02-14 15:17:44 +01:00
Wim Taymans
dc0120fe28
basesink: rename variable
...
Rename an internal variable to better reflact what its value means.
2011-02-14 15:17:44 +01:00
Stefan Kost
61d84b9469
parse-launch: trim whitespaces
2011-02-14 15:39:21 +02:00
Stefan Kost
8f9f95cd78
parse-launch: fix typo in pad-list length comparision
...
It was comparing the length with itself.
Fixes #642071 .
2011-02-14 15:37:23 +02:00
Stefan Kost
7e9b886ba2
Automatic update of common submodule
...
From f94d739 to 1de7f6a
2011-02-14 12:52:30 +02:00
Tim-Philipp Müller
d6aec1acc3
gst-launch: pretty-print datetime tags
2011-02-13 22:57:48 +00:00
Tim-Philipp Müller
c8b3bdbf63
gstreamer.doap: update mailing list host
2011-02-10 23:30:21 +00:00
Wim Taymans
c8d1abdd00
basesink: fix some comments
2011-02-10 15:21:46 +01:00
Wim Taymans
d19f40c716
basesink: keep track of earliest QoS timestamp
...
Keep track of the earliest allowed timestamp according to the latest
QoS report and drop buffers before that time. Activate this filter
when throttling is enabled. We could later also activate this in the
other QoS cases.
See #638891
2011-02-10 15:21:46 +01:00
Wim Taymans
dad43fa004
basesink: use new QoS type
...
Use the new QoS type and send throttling QoS messages.
2011-02-10 15:21:46 +01:00
Wim Taymans
4ee5c61a2d
basesink: add property to configure a throttle-time
...
Add a property to configure the throttle time on a sink. The
property is not yet used.
See #638891
2011-02-10 15:21:45 +01:00
Wim Taymans
56826a5ee6
event: add QoS event type
...
Add a parameter to the QoS event to specify the QoS event type.
Update docs and add unit test.
See #638891
2011-02-10 15:21:45 +01:00
Wim Taymans
aa32e1fab1
clock: fix parameter docs
2011-02-10 15:21:45 +01:00
Wim Taymans
80311b758c
design: tweak docs a little
2011-02-10 15:21:45 +01:00
Wim Taymans
2371cbbec2
design: update QoS document
...
Add new QoS types and talk about the new throttle QoS message.
2011-02-10 15:21:44 +01:00
Tim-Philipp Müller
166be8d7f1
docs: fix some typos in the bufferpool draft
2011-02-10 13:46:08 +00:00
Tim-Philipp Müller
2d37f06ce8
events: fix g-i annotation for gst_event_new_tag() which takes ownership of the tag list
2011-02-10 10:20:10 +00:00
Tim-Philipp Müller
1a6f61a1c9
docs: mention that it's necessary to set the state of elements added to an already-running pipeline
...
https://bugzilla.gnome.org/show_bug.cgi?id=641631
2011-02-10 00:04:09 +00:00
Wim Taymans
654a9484ef
design: add draft for first ideas for a bufferpool feature
...
Add a first draft with some ideas and use cases for the implementation
for bufferpools. The purpose is to be able to make elements negotiate
their buffer requirements as well as provide an infrastructure to
preallocate and reuse buffers in an easy way.
2011-02-09 16:27:33 +01:00
Stefan Kost
306c09e1b2
docs: clarify the NOMINAL_BITRATE docs
...
Tell that its a target bitrate and actual values might be different.
2011-02-09 15:23:13 +02:00
Mark Nauwelaerts
50d566d9ad
poll: trigger rebuild setup in _new
...
Failing to do so in the Windows case (implicitly triggered otherwise)
would have a subsequent _wait return immediately leading to high CPU
usage timeout loops.
Fixes #640675 .
2011-02-03 15:52:18 +01:00
Tim-Philipp Müller
609a75eae2
info: make adding/removing of gst_debug_log_default() work properly
...
Make adding/removing gst_debug_log_default() work reliably in all
circumstances. The problem was that depending on platform and linker
flags the function argument might resolve to different addresses,
which made it impossible to remove the default log function added
in gst_init() from application code (because the pointer values
didn't match). The new approach should keep things simple by passing
NULL for the default function, which the code in libgstreamer can
then handle.
https://bugzilla.gnome.org/show_bug.cgi?id=625396
https://bugzilla.gnome.org/show_bug.cgi?id=640771
2011-02-03 10:53:27 +00:00
Tim-Philipp Müller
74ff936752
Revert "info: use the publicly visible address to fix the tests"
...
This reverts commit eb56687a6d
.
While this commit may have fixed a problem on one of the build bots,
it didn't actually fix the original bug reported for win32.
Also, it causes other problems, such as the lookup failing when
called from C++ code (gst-phonon, amarok).
This needs to be fixed differently.
https://bugzilla.gnome.org/show_bug.cgi?id=640771
https://bugzilla.gnome.org/show_bug.cgi?id=625396
2011-02-03 10:28:01 +00:00
Mark Nauwelaerts
e14c133587
queue2: properly identity dequeued event as such
...
... which avoids terminating with ERROR rather than UNEXPECTED.
2011-02-02 15:37:38 +01:00
Peter Collingbourne
d9a24f585f
gst-uninstalled: use $GST_PREFIX variable
...
This makes it easier to change the prefix by editing the script.
https://bugzilla.gnome.org/show_bug.cgi?id=641212
2011-02-02 09:14:22 +00:00
Sreerenj Balachandran
de55965ebe
taglist: add a new "encoded-by" tag
...
Usecase: ID3v2 TENC ("Encoded by") frame.
API: GST_TAG_ENCODED_BY
https://bugzilla.gnome.org/show_bug.cgi?id=627268
2011-02-01 14:09:48 +00:00
Mark Nauwelaerts
af13409798
net: use socklen_t where appropriate rather than specific type
...
In particular, fixes Cygwin build where socklen_t is defined as int
in line with native win32 api definition.
2011-01-31 18:55:21 +01:00
Tim-Philipp Müller
b93b05653e
bus: honour any per-thread default main context set via g_main_thread_push_thread_default()
...
Makes gst_bus_add_watch(), gst_bus_add_watch_full(), gst_bus_add_signal_watch(),
and gst_bus_add_signal_watch_full() convenience functions automatically pick up
any non-default main contexts set for the current thread via
g_main_thread_push_thread_default().
2011-01-31 15:58:18 +00:00
Olivier Crête
2cfc7adcb1
valve: Only set discont on the first buffer after drops
...
Reset the discont member after setting discont on the first buffer after
dropping.
2011-01-28 15:38:17 -05:00
Bastien Nocera
e6de18ea99
GstElement: Fix warning with GCC 4.6
...
gstelement.c: In function ‘gst_element_get_request_pad’:
gstelement.c:1052:18: error: variable ‘tmp’ set but not used [-Werror=unused-but-set-variable]
https://bugzilla.gnome.org/show_bug.cgi?id=640850
2011-01-28 19:59:56 +00:00
Tim-Philipp Müller
5c778e25a5
identity: print unset buffer timestamps or durations as 'none'
...
Like fakesink and fakesrc do.
2011-01-28 19:59:47 +00:00
Stefan Kost
c5a57190ee
typefind: don't take object lock for reading the found caps
...
Once we switch to normal mode, we're not typefinding anymore and thus the caps
will not change. Therefore can avoid the object lock in the data-flow path.
The locking was added in order to fix bug #608877 .
2011-01-28 11:17:48 +02:00
Zhang Wanming
624168d8a0
docs: fix a few more typos
...
https://bugzilla.gnome.org/show_bug.cgi?id=640502
2011-01-26 08:59:49 +00:00
Tim-Philipp Müller
af0642b6e8
docs: flesh out typefindelement docs some more
...
Mention that have-type signal may be emitted from streaming
thread or application thread, and fix a typo.
2011-01-25 18:48:40 +00:00
Stefan Kost
eed2a350cb
typefind: code and comment cleanups
...
Make code two places of the code the pushes the buffer store more similar. More
comments and debug logging.
2011-01-25 16:25:43 +02:00
Stefan Kost
43c9eb2791
trace: ensure messages are \0 terminated
2011-01-25 16:17:15 +02:00
Stefan Kost
5cc2e6af79
nettimeprovider: handle invalid network addresses earlier
...
Handle inet_aton() return code.
2011-01-25 16:17:14 +02:00
Stefan Kost
7fc30f2d83
checks: add a comment to indicate that we intentionally leave out the 'break'
2011-01-25 16:17:14 +02:00
Stefan Kost
f0b3839677
registry: remove dead code
...
The GError is only used for the mmap operations. If we have an error we handle
and clean it there already.
2011-01-25 16:17:14 +02:00
Stefan Kost
b6926d6707
docs: small controller api docs improvement
2011-01-25 16:17:14 +02:00
Stefan Kost
740e4999b3
typefind: canonicalize signal name
2011-01-25 16:17:14 +02:00
Stefan Kost
c91c3d41fe
docs: mention have-type signal in the docs.
2011-01-25 16:17:14 +02:00
Tim-Philipp Müller
6fef105491
docs: minor gst-launch man page fix
...
Transmitter/receiver pipelines were mislabelled. Spotted by Majin.
2011-01-25 09:17:55 +00:00
Jan Schmidt
d38933081e
multiqueue test: Remove workaround for pad_task hangs
...
Remove code that isn't needed any longer, which sets the multiqueue
to PLAYING and back before unreffing, in order to avoid a deadlock
waiting for gstpad tasks that were never started. The problem seems
to have been fixed long ago.
2011-01-25 16:09:18 +10:00
Cai Yuanqing
eea239f47c
design docs: fix 2 typos in part-MT-refcounting
2011-01-24 19:52:30 +01:00
Yang Xichuan
3d858ccc18
design docs: part-gstbin.txt fix typo
...
Signed-off-by: Yang Xichuan <xichuan.yang@tieto.com>
2011-01-24 19:16:15 +01:00
Vincent Penquerc'h
4b88f6048a
design docs: fix a few typos and a thinko
2011-01-24 19:15:29 +01:00
Sebastian Dröge
8163e51bad
clock: API: Add function to re-init periodic GstClockIDs
2011-01-24 19:15:29 +01:00