Tim-Philipp Müller
c77a21b1fa
examples: improve playback-test help text a little
...
And allow pipeline type to be specified as string.
2014-12-15 12:13:08 +00:00
Sebastian Dröge
46251a7bef
pango: Add license/copyright header to header file
2014-12-15 10:35:35 +01:00
Sebastian Dröge
6521870077
Revert "decodebin: Only emit the drain signal for the main decode chain, not any subchains"
...
This reverts commit a391dfe17f
.
It breaks gapless playback: https://bugzilla.gnome.org/show_bug.cgi?id=740045
2014-12-15 09:46:13 +01:00
Matej Knopp
4713694082
audiorate: Fill gap events
...
https://bugzilla.gnome.org/show_bug.cgi?id=741281
2014-12-14 12:09:12 +01:00
Sanjay NM
d226d45d2f
audio: Add error handling to gst_audio_decoder_drain()
...
https://bugzilla.gnome.org/show_bug.cgi?id=740686
2014-12-14 12:05:52 +01:00
Sebastian Dröge
f5cf586e77
audioclock: Fix redundant definitions compiler warning
...
gstaudioclock.c:51:31: error: redundant redeclaration of 'gst_audio_clock_init' [-Werror=redundant-decls]
G_DEFINE_TYPE (GstAudioClock, gst_audio_clock, GST_TYPE_SYSTEM_CLOCK);
gstaudioclock.c:51:31: error: redundant redeclaration of 'gst_audio_clock_class_init' [-Werror=redundant-decls]
G_DEFINE_TYPE (GstAudioClock, gst_audio_clock, GST_TYPE_SYSTEM_CLOCK);
2014-12-13 16:14:49 +01:00
Sebastian Dröge
cb70d3fdf0
audioclock: No need to get the parent class in class_init, G_DEFINE_TYPE does that for us
2014-12-13 16:04:40 +01:00
Sebastian Dröge
41f1ec1c81
audioclock: Use G_DEFINE_TYPE instead of a custom get_type() function
2014-12-13 16:02:01 +01:00
Zaheer Abbas Merali
3ef295d9d6
rtcpbuffer: fix spelling of word in comment
2014-12-12 08:32:15 -08:00
Tim-Philipp Müller
2f7af2d41b
tests: rtpbasepayload: fix indentation
2014-12-12 15:09:55 +00:00
Tim-Philipp Müller
091e124950
tests: audiodecoder: fix indentation
2014-12-12 15:09:55 +00:00
Tim-Philipp Müller
c57bb51c03
tests: audiodecoder: fix broken refcounting in unit test
...
The set_format vfunc does not pass ownership of the caps
to the decoder, so we mustn't unref the caps there.
gst_event_new_caps() does not take ownership of the caps
passed, so we must unref the caps afterwards.
Fixes leaks when running test in valgrind in 1.4 branch.
2014-12-12 15:09:55 +00:00
Sebastian Dröge
ee2418effd
video: Update disted orc source files
2014-12-12 10:02:43 +01:00
Sebastian Dröge
3fc5791b3f
Revert "video-converter: Fix compiler warning because of missing prototype of non-static function"
...
This reverts commit 406f32a946
.
The problem was apparently that my video-orc.h was not updated and did not
include the prototype for that function. Only a "make clean" caused it to
be regenerated.
2014-12-12 10:01:36 +01:00
Sebastian Dröge
406f32a946
video-converter: Fix compiler warning because of missing prototype of non-static function
...
video-converter.c:838:1: error: no previous prototype for function
'_custom_video_orc_matrix8' [-Werror,-Wmissing-prototypes]
2014-12-12 09:51:05 +01:00
Thiago Santos
fce946a1a3
audiodecoder: do not use fixed caps on source pad
...
decoders can change the caps on their source pads, so they don't
use fixed caps. Having fixed caps can cause renegotiation issues.
2014-12-11 17:35:03 -03:00
Thiago Santos
2034e5c153
videodecoder: do not use fixed caps on source pad
...
decoders can change the caps on their source pads, so they don't
use fixed caps. Having fixed caps can cause renegotiation issues.
2014-12-11 17:35:03 -03:00
Thibault Saunier
b9cbfcdeb4
playbin: Do not mix up stream type when getting stream combiner element
...
We were always returning the video stream combiner whatever stream type
combiner was wanted.
2014-12-11 13:47:58 +01:00
Thiago Santos
7e801a5f26
playbin2: always unref the combiner sinkpad when removing the srcpad
...
Create a function to do the pad cleanup of the GstSourceCombine struct
and use it to not forget to also cleanup the sink pad and fix a memory
leak.
https://bugzilla.gnome.org/show_bug.cgi?id=741198
2014-12-10 13:36:37 -03:00
Wim Taymans
903ba19593
video-orc: make RGB pack/unpack faster
...
Avoid all the merging and splitting and use a pair of shifts and or
2014-12-10 16:43:34 +01:00
Jan Schmidt
6e492304dd
videodecoder: Add GST_VIDEO_DECODER_CAST macro
...
It's used in some macros already, so let's make it exist.
2014-12-11 01:53:15 +11:00
Göran Jönsson
e3a212e0d4
rtspconnection: No remove child if destroyed.
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=740730
2014-12-09 10:32:00 +01:00
Jan Schmidt
3c17b86639
reverse-play: fix seek to end when starting reverse
...
Start reverse playback by actually seeking to the end of
the file.
2014-12-08 18:53:35 +11:00
Wim Taymans
a0b8e96b77
video-converter: set bits and format after conversion
...
Update the current format, bits and pstride.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=741187
2014-12-06 21:05:00 +01:00
Thiago Santos
5db596495b
video-converter: free dither_lines
...
Avoid a memory leak
2014-12-05 22:23:55 -03:00
Nicolas Dufresne
11dc06fb3e
Bump ORC requirement to 4.22.1
...
We now depend on git commit f1cfa5, "orcc: allow setting custom
backup function"
2014-12-05 18:18:57 -05:00
Wim Taymans
4ffd723c95
video-converter: use custom backup function
...
Use the new orc feature to set a custom backup function.
2014-12-05 14:51:28 +01:00
Wim Taymans
04e9a8dcc5
video-converter: improve matrix8 function
...
Avoid using a constant.
Avoid doing saturated adds, results are not supposed to overflow here.
Rework the C backup function a little in preparation for custom backup
functions in ORC.
See https://bugzilla.gnome.org/show_bug.cgi?id=741015
2014-12-05 12:20:26 +01:00
Mathieu Duponchelle
b2413d46ed
audiodecoder: Push pending events before sending EOS.
...
Segments are added to the pending events, and pushing a segment
is mandatory before sending EOS.
+ Adds a test.
https://bugzilla.gnome.org/show_bug.cgi?id=740853
2014-12-05 12:04:04 +01:00
Mathieu Duponchelle
4e228e0a1f
oggdemux: Fix seeking before the first frame.
...
The previous code was setting keytarget to target
to make sure the keyframe found for each pad was
indeed before the target.
Then if target == keytarget, it assumed a keyframe had been
found, which was not the case if target was before the first frame
in the file.
This patch checks that a keyframe was indeed found, and if not
seeks to 0, without bisecting again.
Assuming default gst qa assets in $HOME/gst-validate
seek_before_first_frame.scenario:
description, seek=true, handles-states=true
pause, playback-time=0.0
seek, playback-time=0.0, start=0.0, flags=accurate+flush
seek, playback-time=0.0, start=0.01, flags=accurate+flush
seek, playback-time=0.0, start=0.1, flags=accurate+flush
GST_DEBUG=*theoradec*:2 gst-validate-1.0 playbin \
uri=file://$HOME/gst-validate/gst-qa-assets/medias/ogg/vorbis_theora.0.ogg \
--set-scenario seek_before_first_frame.scenario
https://bugzilla.gnome.org/show_bug.cgi?id=741097
2014-12-05 10:13:57 +01:00
Edward Hervey
6a2f017bfa
playbin: Only check sinks which are in >= GST_STATE_READY
...
Otherwise we endup with bogus caps intersection (from the pad template
caps and not from what the actual hardware/device supports)
https://bugzilla.gnome.org/show_bug.cgi?id=738131
2014-12-05 07:58:44 +01:00
Wim Taymans
e2a693656b
video-converter: fix chroma resampling check
...
Decide if we need chroma resampling by checking if we have a progressive
or interlaced chroma resampler.
2014-12-03 10:17:29 +01:00
Wim Taymans
6757296386
video-converter: only do dithering when needed
...
Only do dithering when one of the quantizers is > 1.
2014-12-03 10:17:29 +01:00
Chad
e397b03f35
audiorate: Use gst_util_uint64_scale_int_round()
...
Using gst_util_uint64_scale_int() causes slight drift
which accumulates over time.
https://bugzilla.gnome.org/show_bug.cgi?id=741045
2014-12-02 16:07:05 -05:00
Wim Taymans
49611eb364
defs: update defs file
2014-12-02 15:23:04 +01:00
Wim Taymans
991a81bd5d
videoconvert: add dither-bits option
...
Fix the dither option.
Add a new option to set the quantizer
2014-12-02 15:23:00 +01:00
Wim Taymans
fc1d24ec45
video-scaler: add where orc functions could go
...
Add the disabled orc functions in #if 0 lines for when we can enable
them.
2014-12-02 15:11:12 +01:00
Wim Taymans
d03136f1ea
video-converter: add dithering
...
Use the new dither object to perform dithering.
Add option to select dithering method.
Add option to quantize to a specific value
2014-12-02 15:10:49 +01:00
Wim Taymans
dfb202a117
video-converter: add palette when needed
2014-12-02 15:10:49 +01:00
Wim Taymans
0f2be22e76
video-dither: add video dither helper object
...
Add a new object that implements various dithering methods.
2014-12-02 15:10:43 +01:00
Thiago Santos
921aa7c52b
gst-play: do not set system's volume to 100% by default
...
Only change the volume if requested
2014-12-01 22:29:18 -03:00
Thomas Klausner
a4b94e6c69
alsa: Use EPIPE instead of ESTRPIPE if the latter does not exist
...
NetBSD does not have ESTRPIPE.
https://bugzilla.gnome.org/show_bug.cgi?id=740952
2014-12-01 09:51:12 +01:00
Sebastian Dröge
90eb93c2ef
Don't compare booleans for equality to TRUE and FALSE
...
TRUE is 1, but every other non-zero value is also considered true. Comparing
for equality with TRUE would only consider 1 but not the others.
2014-12-01 09:51:12 +01:00
Thibault Saunier
72c05d1cbb
encodebin: Add a way to disable caps renegotiation for output stream format
...
In some cases, the user might want the stream outputted by encodebin to
be in the exact same format during all the stream. We should let the
user specify when this is the case. This commit add some API in the
GstEncodingProfile to determine whether the format can be renegotiated
after the encoding started or not.
API:
gst_encoding_profile_set_allow_dynamic_output
gst_encoding_profile_get_allow_dynamic_output
https://bugzilla.gnome.org/show_bug.cgi?id=740214
2014-11-28 16:56:32 +01:00
Tim-Philipp Müller
b03cfdffb1
tests: remove libs/video and videoconvert test from valgrind blacklist
...
Seem to work fine.
2014-11-28 13:31:39 +00:00
Tim-Philipp Müller
4bddc9276b
tests: don't run orc/* tests under valgrind
...
They just seem to blow up for some reason that needs investigating.
2014-11-28 13:29:37 +00:00
Tim-Philipp Müller
19d2a5255c
tagmux: fix criticals when there are no tags at all
2014-11-28 13:18:38 +00:00
Jan Schmidt
16b28c0d47
test-reverseplay: Use uridecodebin for input
...
Work with any installed URI handler
Add some more debug output
2014-11-28 22:03:37 +11:00
Sebastian Dröge
afcc0b3c50
video-frame: Mapping a frame with inconsistent values between GstVideoMeta and GstVideoInfo is a bug
...
It will cause the frame to be initialized with inconsistent values that then
later can cause crashes or any other kind of interesting and hard to debug
bugs.
2014-11-28 10:27:28 +01:00
Edward Hervey
1ec4d764fc
Automatic update of common submodule
...
From 7bb2bce to ef1ffdc
2014-11-27 17:10:31 +01:00