Edward Hervey
6043f7a578
mpegtspacketizer: Fix debug statement
2014-06-10 14:27:53 +02:00
Edward Hervey
8e28f335f4
mpegtspacketizer: Fix duration evaluation in push mode
...
When working in push mode, we need to be able to evaluate the duration
based on a single group of observations.
To do that we use the current group values
2014-06-10 14:27:01 +02:00
Edward Hervey
a822517ca9
mpegtspacketizer: Handle early PTS conversion
...
When handling the PTS/DTS conversion in new groups, there's a possibility
that the PTS might be smaller than the first PCR value observed, due to
re-ordering.
When using the current group, only apply the wraparound correction when we
are certain it is one (i.e. differs by more than a second) and not when it's
just a small difference (like out-of-order PTS).
https://bugzilla.gnome.org/show_bug.cgi?id=731088
2014-06-10 13:29:28 +02:00
Tim-Philipp Müller
c60f4ecd11
gdp: don't print already-freed string
...
CID 1221987
2014-06-09 10:10:01 +01:00
Edward Hervey
38cb5e00fe
speed: Fix position query some more
...
Forgot to remove code in 16fd917632
CID #1139677
2014-06-09 10:57:32 +02:00
Edward Hervey
a2890e831b
mpegtsdemux: Fix sticky event handling
...
When we receive sticky events from upstream, always return TRUE.
Fixes the issue where we receive custom sticky events (such as "uri")
and no pads are created yet.
2014-06-07 07:15:33 +02:00
Jan Schmidt
9538651a20
tsdemux: Remove extraneous extra parameter from check_pending_buffers function
2014-06-04 21:56:28 +10:00
Jan Schmidt
a86b3d032c
mpegtspacketiser: Always initialise packet AFC flags and PCR fields
...
Also fix a slight typo in a comment about the smoothing algorithm
2014-06-04 21:56:00 +10:00
Jan Schmidt
842c4a3d2c
tsdemux: Reset pending_ts on a discont, to re-measure initial timestamps
...
Since all the other timestamp tracking now gets reset on a discont,
it makes sense to wait for a PCR and timestamp buffers like when
playback first starts
2014-06-04 21:54:43 +10:00
Michael Olbrich
c9ae275c72
liveadder: handle gap buffer flag
...
Remove GAP flag unless both sides have gap data, ignore
incoming data if it is gap data.
https://bugzilla.gnome.org/show_bug.cgi?id=722397
2014-06-03 14:59:30 -04:00
Olivier Crête
037f277566
gdp: Fail gracefully if event can't be parsed
...
https://bugzilla.gnome.org/show_bug.cgi?id=731093
2014-06-02 21:44:00 -04:00
Edward Hervey
16fd917632
speed: make position query able to convert bytes to time
...
(same as 744c58d71b
but for the
position query)
It was only querying in time, but then trying to use dead bytes
to time conversion code.
Coverity 1139677
2014-06-02 10:11:58 +02:00
Edward Hervey
e7a0d7d0ed
mpegdemux: avoid crashing in pathological case
...
(Identical to commit 612cdeec80
which
was for resindvd)
When we'd see an unknown stream type, then a SDDS stream.
Then we'd get to the end of the switch with a NULL temp stream
pointer, and dereference it.
Coverity 1139708
2014-06-02 09:42:33 +02:00
Thiago Santos
0ae4bc74ba
camerabin: fix structure handling in preview message
...
Avoid trying to modify the message structure as it isn't mutable.
Use a copy and post a new message if necessary.
Fixes failing tests.
2014-05-30 02:10:45 -03:00
Thiago Santos
32d8022820
tsbase: parse the mgt and add listed EIT/ETT pids to the known psi
...
This will make tsbase also parse the EITs and ETTs from ATSC streams that have
their pids reported on the MGT and post to the bus
https://bugzilla.gnome.org/show_bug.cgi?id=730435
2014-05-29 10:37:59 +02:00
Thiago Santos
c56a4d54b8
tsdemux: add/remove pads to flowcombiner differently due to streaming nature
...
Due to mpegts streaming nature some pads are created but are only added
later to the element. This can cause a scenario where the first stream
doesn't have an available decoder (while the next ones still pending
would have) and tsdemux will fail with not-linked as the first stream
added wouldn't be linked.
To avoid this tsdemux needs to add pads to the flowcombiner
when they are created instead of only when adding them to the
element.
2014-05-27 10:29:32 -03:00
Thiago Santos
b8d87c11ab
mxfdemux: remove unread last_flow variable
...
it isn't necessary anymore and is already unused
2014-05-27 07:42:46 -03:00
Sebastian Dröge
a3489ffa83
mxfdemux: Compare positions to find the earliest pad, not flow returns
2014-05-27 12:24:43 +02:00
Thiago Santos
ae839d8dc2
mxfdemux: use GstFlowCombiner
...
Removes flow return combination code to use the newly added GstFlowCombiner
https://bugzilla.gnome.org/show_bug.cgi?id=709224
2014-05-26 23:29:43 -03:00
Thiago Santos
6dc571b5cf
mpegdemux: use GstFlowCombiner
...
Removes flow return combination code to use the newly added GstFlowCombiner
https://bugzilla.gnome.org/show_bug.cgi?id=709224
2014-05-26 23:29:43 -03:00
Thiago Santos
b66012a586
tsdemux: use GstFlowCombiner
...
Removes flow return combination code to use the newly added GstFlowCombiner
2014-05-26 23:29:43 -03:00
Aurélien Zanelli
2c3e7b6352
h264parse: use new gst_h264_video_calculate_framerate() to get framerate
...
https://bugzilla.gnome.org/show_bug.cgi?id=723352
2014-05-22 16:12:36 +02:00
Aurélien Zanelli
a9dfa354f6
h264parse: set field_pic_flag when parsing a slice header
...
field_pic_flag was used but never set to other value than its default
https://bugzilla.gnome.org/show_bug.cgi?id=730363
2014-05-22 15:54:04 +02:00
Sebastian Dröge
46016ccd14
Release 1.3.2
2014-05-21 13:06:35 +02:00
Wim Taymans
d80630f011
bayer: fix unused variable
2014-05-20 11:42:35 +02:00
Sebastian Dröge
5fc8820d8c
freeverb: Don't pass floats to abs() but instead cast them to ints first
...
gstfreeverb.c:781:29: error: using integer absolute value function 'abs' when
argument is of floating point type [-Werror,-Wabsolute-value]
if (abs (out_l2) > 0 || abs (out_r2) > 0)
2014-05-19 11:34:42 +02:00
Tim-Philipp Müller
f8d63c5ad9
mxfdemux: post error message when erroring out on unsupported essence wrapping
2014-05-14 00:25:09 +01:00
Edward Hervey
1b5e514a05
mpegtbase: Small rewrite
...
Setting done was useless anyway
2014-05-13 13:54:23 +02:00
Edward Hervey
93ef3f9b24
vmndec: Don't leak output state
...
_set_output_state returns a reference to the codec state.
CID #1212170
2014-05-13 11:38:44 +02:00
Edward Hervey
bc918d1466
sdpdemux: Don't leak adapter data
...
CID #1212158
2014-05-13 11:35:46 +02:00
Edward Hervey
2495f700bd
mpegpsmux; Fix stream leak
...
CID #1212164
2014-05-13 11:30:35 +02:00
Edward Hervey
1d01afc166
jp2kdecimator: Don't leak various slices and arrays
...
CID #1212139
CID #1212140
CID #1212141
2014-05-13 11:28:00 +02:00
Edward Hervey
6baeb94dce
asfmux: Don't leak bytereader
...
By making it go through the error path that takes care of cleanups
CID #1212168
2014-05-13 11:19:24 +02:00
Sebastian Dröge
066cf18336
dvbsuboverlay: Do not try to add a feature to a caps features ANY
...
It does not makes sense and asserts.
Based on 7f9aac386f
from gst-plugins-base.
2014-05-11 07:56:50 +02:00
Tim-Philipp Müller
ab3153b9a2
tsdemux: remove confusing debug log line
2014-05-10 12:56:24 +01:00
Olivier Crête
1660538615
autoconvert: factories don't need the lock
...
An atomic is enough, they can only be set once.
2014-05-09 23:05:28 -04:00
Olivier Crête
c47c26bf1f
Revert "autoconvert: Handle caps query on internal srcpad"
...
This is not needed anymore if the gst_pad_link checks nothing.
This reverts commit a303375a3f
.
2014-05-09 23:04:26 -04:00
Olivier Crête
c0ff27959e
autoconvert: No need to check anything when linking internal pads
2014-05-09 23:03:48 -04:00
Olivier Crête
4ccf7582a2
autoconvert: Don't ignore elements accepted ANY, it is valid
2014-05-09 23:03:43 -04:00
Olivier Crête
f3f6cdd451
autoconvert: Remove broken usage of the iterator
...
We're a subclass, so we can just take the object lock and iterate the list
directly.
2014-05-09 23:03:36 -04:00
Olivier Crête
907ffc7352
autoconvert: Process upstream getcaps
...
Process it like downstream getcaps
2014-05-09 23:03:29 -04:00
Olivier Crête
b852f13a54
autoconvert: Return the GList of factories, to a pointer to it.
2014-05-09 23:02:28 -04:00
Olivier Crête
9eeef09c80
autoconvert: subelement can only be change with stream lock held
...
It was already the case, now be more explicit about that, and remove useless
lock/ref/unlock/unref dances.
2014-05-09 23:02:23 -04:00
Olivier Crête
606ff3debd
autoconvert: Keep a ref to the pads too
...
Simplifies the code
2014-05-09 23:02:16 -04:00
Olivier Crête
968b4a4969
autoconvert: Remove uneeded if()
...
NULL is valid GList
2014-05-09 23:02:12 -04:00
Olivier Crête
b76e564acf
autoconvert: Always push reconfigure upstream too
...
A reconfigure could trigger a change of contents instead of just reconfiguring the internal element
2014-05-09 23:02:09 -04:00
Olivier Crête
ead6db4277
autoconvert: Remove unused internal parameter
2014-05-09 23:02:05 -04:00
Luis de Bethencourt
bf1997fe89
pnmenc: remove empty line
...
Remove trailing empty line from commit bfdc543952
https://bugzilla.gnome.org/show_bug.cgi?id=729614
2014-05-06 10:00:28 -04:00
Jesper Larsen
f9a4d559eb
mpegtsmux: Remove unused data in TsMuxSection
...
https://bugzilla.gnome.org/show_bug.cgi?id=721685
2014-05-06 14:10:06 +02:00
Tim-Philipp Müller
e807ac077d
pnmenc: fix flow return and buffer leak in not-negotiated case
...
https://bugzilla.gnome.org/show_bug.cgi?id=729614
2014-05-06 09:48:58 +01:00