Thiago Santos
af1dda2ecd
wrappercamerabinsrc: fix typo
2015-04-24 15:12:46 -03:00
Luis de Bethencourt
c944093d08
remove unused enum items PROP_LAST
...
This were probably added to the enums due to cargo cult programming and are
unused.
2015-04-24 16:48:26 +01:00
Luis de Bethencourt
e5d62b073b
gaudi: don't run gaussian function if sigma is 0
2015-04-23 11:47:37 +01:00
Luis de Bethencourt
8305f14ded
gaudi: fix to 30780db1
...
The second check for (factor == 0) creeped in the last commit.
Apologies.
2015-04-22 15:04:05 +01:00
Luis de Bethencourt
30780db15b
gaudi: fix exclusion's factor range
...
Avoid dividing by zero when the factor is zero. Instead, output a buffer with
all color values as zero.
2015-04-22 14:55:33 +01:00
Luis de Bethencourt
1fee98f5dd
gaudi: remove floor variable in solarize
...
Floor variable has no effect and it isn't worth it to have it adjustable.
2015-04-22 14:15:17 +01:00
Luis de Bethencourt
2fbbdb5529
gaudi: remove unused property
2015-04-22 14:06:53 +01:00
Thiago Santos
70193761b8
wrappercamerabinsrc: Reset zoom element caps to go to viewfinder mode
...
Avoids not-negotiated failures related to using image capture caps
still when adjusting to go back to viewfinder.
2015-04-21 10:00:44 -03:00
Thiago Santos
ef5b7ca93e
wrappercamerabinsrc: fix leak of drain query
...
gst_pad_peer_query doesn't take ownership of the query object
2015-04-21 10:00:44 -03:00
Thiago Santos
b74770bd05
wrappercamerabinsrc: Refactor internal pipeline
...
Remove tee and output-selector and just link the source
pad to the outputs we want as needed.
The way we need to prioritize caps negotiation and allocation
queries depending on the mode enabled is too custom to be
handled using tee and output-selector.
This provides more flexibility and doesn't get in the way of proper
handling of negotiation and allocation queries.
2015-04-21 10:00:44 -03:00
Edward Hervey
8ba1fbbe64
h264parse: Remove dead code
...
The detection for missing format/alignment is done way before this
codepath is reached (at which point we have already decided of a
format and alignment).
CID #1232800
2015-04-20 14:35:19 +02:00
Luis de Bethencourt
fa4822a41b
tsdemux: clean assignment typo
...
No need to set the value twice.
https://bugzilla.gnome.org/show_bug.cgi?id=745102
CID #295122
2015-04-20 11:30:28 +01:00
Luis de Bethencourt
f52cf2a7c4
tsdemux: remove dead code
...
position of GstSegment is an unsigned int64, it can never be below zero.
CID #1295123
2015-04-20 10:58:33 +01:00
Vineeth T M
3daa793494
fieldanalysis: exception when block width to 0
...
When block width property is set to 0, exception occurs.
This happens due to divide by zero errors in calculations.
block width property can never be 0. Hence adjusting the minimum value to 1.
https://bugzilla.gnome.org/show_bug.cgi?id=744188
2015-04-20 09:42:14 +01:00
Olivier Crête
b4219a3e63
mpegtsbase: Remove unused latency query code
...
The behavior changes based on the type of segment,
not on the liveness of the source.
2015-04-17 13:59:08 -06:00
Olivier Crête
a1f709c293
tsdemux: Cleanup latency query handling
...
The minimum latency is always 0 or more. And we should
requery upstream as it may have changed.
2015-04-17 13:59:08 -06:00
Edward Hervey
ed27244c03
mpegtspacketizer: Unify debug statements
...
Use 0x%04x for PIDs
2015-04-17 16:21:28 +02:00
Edward Hervey
b80ae9cdcd
tsdemux: Unify duration querying code
...
And properly use it in the SEEKING query.
Fixes seeking with gst-play
2015-04-17 16:21:28 +02:00
Vincent Penquerc'h
d84d803431
mpegdemux: fix pad leak when not adding a new pad after no-more-pads
2015-04-16 13:35:40 +01:00
Vincent Penquerc'h
cb0eaeadfd
tsdemux: fix segment position tracking for the general case
...
Different streams can have different PTS/DTS bases, and some
streams may not even have DTS.
https://bugzilla.gnome.org/show_bug.cgi?id=745102
2015-04-16 13:35:40 +01:00
Sebastian Dröge
9b50a12b52
h264parse: Don't unref buffer that was unreffed just a few lines before already
2015-04-15 21:07:59 +02:00
Olivier Crête
c4c9fe60b6
pcapparse: Take buffer directly from the adapter
...
No need to make a copy into a new buffer, just take the data
from the adapter.
2015-04-10 20:27:15 -04:00
Olivier Crête
a2b093af47
pcapparse: Produce GstBufferList
2015-04-10 20:27:15 -04:00
Thiago Santos
5a1c73a105
wrappercamerabinsrc: remove unused attribute and related pad probe
...
The variable was never set to true and can be removed along
with the probe in which it used to act
2015-04-10 16:23:25 -03:00
Vincent Penquerc'h
338bfe5e35
tsdemux: handle seeks with no target (ie, keep current position)
...
Such seeks are used to change playback rate and we do not want
to alter the position in that case, so we bypass the flush/seek
logic, and set things up so a new segment is scheduled to be
regenerated.
https://bugzilla.gnome.org/show_bug.cgi?id=735100
2015-04-09 15:44:20 +01:00
Vincent Penquerc'h
68f57d20b9
tsparse: fix timestamps not updating after a PMT change
...
The PCRs stay locked onto the same PID as before the change,
but the relevant PID has no reason to be the same after it.
https://bugzilla.gnome.org/show_bug.cgi?id=745102
2015-04-09 15:44:20 +01:00
Vincent Penquerc'h
ade79a9ad2
tsdemux: send new segment when a stream is added
...
This will happen when the PMT changes, replacing streams with
new ones. In that case, we need to accumulate the running time
from the previous chain in the segment base.
https://bugzilla.gnome.org/show_bug.cgi?id=745102
2015-04-09 15:44:20 +01:00
Vincent Penquerc'h
fc2460b331
tsdemux: keep track of current position
...
This allows seeking to correctly set the base on the segment.
https://bugzilla.gnome.org/show_bug.cgi?id=745102
2015-04-09 15:44:20 +01:00
Guillaume Desmottes
4d790dae67
mxfdemux: fix memory leak
...
Reset the internal segment before freeing it.
mxf_index_table_segment_parse() allocates data inside the segment
(like segment->delta_entries) which have to be freed using
mxf_index_table_segment_reset().
https://bugzilla.gnome.org/show_bug.cgi?id=746803
2015-04-04 19:47:40 +01:00
Olivier Crête
34a921c31b
audiomixer: Allow downstream caps with a non-default channel-mask
...
Instead of failing, take the downstream channel mask if the channel
count is 1.
2015-04-01 20:32:41 -04:00
Mark Nauwelaerts
32e87b1024
mxfdemux: resurrect some flow return handling
...
https://bugzilla.gnome.org/show_bug.cgi?id=744572
2015-03-28 18:22:29 +01:00
Mark Nauwelaerts
b2d109242f
mpegdemux: resurrect some flow return handling
...
https://bugzilla.gnome.org/show_bug.cgi?id=744572
2015-03-28 18:22:29 +01:00
Luis de Bethencourt
78ce8ff74f
audioaggregator: check sink caps are valid
2015-03-24 16:18:22 +00:00
Luis de Bethencourt
cfdcb14730
Revert "audioaggregator: check sink caps are valid"
...
This reverts commit 6d4d0d1cdf
.
Never put code with side effects into an assertion, it can be compiled out
2015-03-24 16:17:00 +00:00
Luis de Bethencourt
6d4d0d1cdf
audioaggregator: check sink caps are valid
...
CID #1291622
2015-03-24 15:53:17 +00:00
Luis de Bethencourt
b3ad336af1
gaudieffects: clean solarize code
2015-03-23 15:10:39 +00:00
Luis de Bethencourt
70cc73fd70
gaudieffects: removing values only used once
2015-03-23 15:10:39 +00:00
Luis de Bethencourt
110fa9c09c
gaudieffects: small cleanup in headers
2015-03-23 15:10:39 +00:00
Luis de Bethencourt
fd3c60de34
gaudieffects: update copyright dates of dilate
2015-03-19 13:59:42 +00:00
Luis de Bethencourt
78ebbb4fd7
gaudieffects: factorize transform code of dilate
2015-03-19 13:58:21 +00:00
Olivier Crête
224f14a299
audiointerleave: Set src caps in aggregate
...
This prevents races between the setcaps of the sink pads
https://bugzilla.gnome.org/show_bug.cgi?id=740236
2015-03-16 16:44:03 -04:00
Olivier Crête
b08b01895f
audiointerleave: Add interleave element based on audioaggregator
...
https://bugzilla.gnome.org/show_bug.cgi?id=740236
2015-03-16 16:44:03 -04:00
Olivier Crête
c565877991
audioaggregator: Print a message when a buffer is late
...
https://bugzilla.gnome.org/show_bug.cgi?id=740236
2015-03-16 16:44:03 -04:00
Olivier Crête
01520c7e47
audioaggregator: Don't re-send the caps if they did not change
...
https://bugzilla.gnome.org/show_bug.cgi?id=740236
2015-03-16 16:41:45 -04:00
Olivier Crête
959f8e4a3e
audioaggregator: Split base class from audiomixer
...
Also:
- Don't modify size on early buffer
The size is the size of the buffer, not of remaining part.
- Use the input caps when manipulating the input buffer
Also store in in the sink pad
- Reply to the position query in bytes too
- Put GAP flag on output if all inputs are GAP data
- Only try to clip buffer if the incoming segment is in time or samples
- Use incoming segment with incoming timestamp
Handle non-time segments and NONE timestamps
- Don't reset the position when pushing out new caps
- Make a number of member variables private
- Correctly handle case where no pad has a buffer
If none of the pads have buffers that can be handled, don't claim to be EOS.
- Ensure proper locking
- Only support time segments
https://bugzilla.gnome.org/show_bug.cgi?id=740236
2015-03-16 16:41:45 -04:00
Olivier Crête
ff9be3ba34
audiomixer: Release pad object lock before dropping buffer
...
Otherwise, the locking order is violated and deadlocks happen.
https://bugzilla.gnome.org/show_bug.cgi?id=745768
2015-03-16 14:31:50 -04:00
Olivier Crête
2d553d1b25
audiomixer: Only ignore pads with no buffers on timeout
...
When the timeout is reached, only ignore pads with no buffers, iterate
over the other pads until all buffers have been read. This is important
in the cases where the input buffers are smaller than the output buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=745768
2015-03-16 14:31:50 -04:00
Olivier Crête
9c49624610
audiomixer: Only advance by the buffer size when a buffer is late
...
https://bugzilla.gnome.org/show_bug.cgi?id=745768
2015-03-16 14:31:50 -04:00
Jan Schmidt
d5ca311a0d
compositor: Revert most of previous patch.
...
The calculation doesn't produce the same results.
Keep just the change to divide alpha by 255 instead of 256,
for slightly better accuracy
2015-03-16 04:00:44 +11:00
Tim-Philipp Müller
5c3652dd22
mpegtsmux: drop some superfluous assertions
...
g_return_*_if_fail() is for public API to catch
programming errors. For internal code, we should
just use g_assert() to check internal state.
2015-03-15 16:10:31 +00:00