Nicolas Dufresne
0c647ec8a7
gstgtk: No need to realize the widget
...
The widget already does that.
2015-06-11 12:41:49 -04:00
Nicolas Dufresne
1f9bdcad87
gstgtk: Don't leak the widget
...
g_object_get() returns a ref, gtk_container_add() only ref_sink().
That mean we still need to unref afterward. This leak was hiding
a reference bug previously present.
2015-06-11 12:41:49 -04:00
Nicolas Dufresne
b14fea7fb8
gstgtk: Allow doing gst-inspect-1.0 on these elements
...
This patch allow going gst-inspect-1.0 on these elements removing
ugly crash that was previously occurring. The method consist of
making the widget creation as lazy as possible. This way we don't
endup doing gtk_init() before the application. We also ref_sink()
the widget, so we don't crash if the parent widget is discarded,
and cleanly error out with GL if the widget has no parent window,
because calling gtk_widget_realized() can only be done if the widget
has been parented to a window).
2015-06-11 12:41:49 -04:00
Jan Schmidt
e2ce1eff36
gl: Add support for multiple views in upload, colour convert and download
...
Support multiple attached views on input/output buffers
by processing each one, not just the first.
2015-06-12 00:39:15 +10:00
Jan Schmidt
08c73f9cc7
h264parse: Add support for passing stereoscopic/multiview info
...
Pass any multiview info from the container or SEI info downstream
2015-06-12 00:39:15 +10:00
Jan Schmidt
e8908f5aee
h264parse: Don't switch to passthrough on set_caps()
...
Wait until at least one keyframe has been parsed before
deciding to switch to passthrough mode, in case the
stream contains SEI messages that supplement the output
caps - for example by providing stereoscopic information
2015-06-12 00:39:15 +10:00
Matthew Waters
5697b6b89b
gl/window/x11: don't create our own X11 display
...
It's not needed anymore with most window operations occuring in the
GL thread.
2015-06-12 00:34:58 +10:00
Matthew Waters
e2adfb8bf2
gl/window/x11: handle_events() may be called before the window has been created
...
Fixes an XIO fatal error
2015-06-12 00:34:58 +10:00
Matthew Waters
cd2669fad1
gl: move basesink properties from glimagesinkbin to glsinkbin
2015-06-12 00:34:58 +10:00
Yanko Kaneti
fa9fa5d460
mpegtsmux: Remove arbitrary constraint on prog-map program ids
...
https://bugzilla.gnome.org/show_bug.cgi?id=746765
2015-06-12 00:09:54 +10:00
Sebastian Dröge
e8a97877b4
gl: Use gst_object_ref_sink() for gl{filter,mixer,src}bin too
2015-06-11 15:22:04 +02:00
Sebastian Dröge
c1b43742bf
glsinkbin: Use gst_object_ref_sink() for consistency with the video-sink property on playbin
2015-06-11 15:17:55 +02:00
Thibault Saunier
59e298a6fb
gtk: Do not try to initialize display if we have not have a GLContext yet
2015-06-11 15:07:24 +02:00
Sebastian Dröge
b9d8d83ca4
gtk: Add missing CFLAGS to example
2015-06-11 14:58:27 +02:00
Matthew Waters
23fb666dd7
Implement gtk sinks
...
two sinks are provided. gtksink which is a cairo/software based renderer
and gtkglsink which utilises the GL support in gtk and gstreamer.
2015-06-11 22:01:03 +10:00
Edward Hervey
898b436219
h263parse: Fix PSC matching
...
We were off by one byte in the matching
It should be (using 24 bit matching):
* startcode : 0000 0000 0000 0000 1000 00xx
* mask (bin) : 1111 1111 1111 1111 1111 1100
* mask (hex) : f f f f f c
* match : 0 0 0 0 8 0
https://bugzilla.gnome.org/show_bug.cgi?id=750685
2015-06-11 08:27:19 +02:00
Ilya Konstantinov
29c79d7595
vtenc: always enqueue frames, even on error
...
Even when we fail to encode frame, we should still enqueue it so
it could be passed into handle_frame (with output_buffer == NULL).
Otherwise, we risk GstVideoEncoder's queue of frames growing unbounded.
Note: We're slightly changing the renegotiation code to accommodate for
frames without output buffers, but this commit takes no ownership over
the way negotiation is being done.
https://bugzilla.gnome.org/show_bug.cgi?id=750669
2015-06-10 22:23:06 +02:00
Fabio Cetrini
79f57e62dc
d3dvideosink: Avoid frame rendering while the window is completely hidden
...
https://bugzilla.gnome.org/show_bug.cgi?id=749856
2015-06-10 15:03:31 +02:00
Sebastian Dröge
e7ca427ddb
gl: OES_vertex_array_object is improperly implemented on PowerVR SGX 544MP
...
https://bugzilla.gnome.org/show_bug.cgi?id=750185
2015-06-10 13:31:16 +02:00
Ilya Konstantinov
6101fc57b8
vtenc: free input buffer ASAP
...
VTCompressionSessionEncodeFrame retains the CVPixelBuffer during
encoding, and will release it as soon as it can (e.g. before it even
calls our callback). This means we can safely release input buffer
at this point, possibly allowing the system to reuse it sooner.
https://bugzilla.gnome.org/show_bug.cgi?id=750671
2015-06-10 10:30:23 +02:00
Ilya Konstantinov
f5c29c7379
vtenc: Add missing gst_vtenc_frame_free() in error path
...
https://bugzilla.gnome.org/show_bug.cgi?id=750668
2015-06-10 10:26:28 +02:00
Santiago Carot-Nemesio
9fb4d5df20
liveadder: Fix memory leaks iterating over pads
...
Rebased for latest master by Nicolas Huet <nicolas.huet@parrot.com>.
https://bugzilla.gnome.org/show_bug.cgi?id=745748
2015-06-10 10:24:35 +02:00
Ilya Konstantinov
5db08a8b89
vtenc: add alignment=au to sink caps
...
VT compression callback gets a CMSampleBuffer per frame, so vtenc_h264
should set 'alignment=au' in sink caps to indicate this.
https://bugzilla.gnome.org/show_bug.cgi?id=750635
2015-06-10 10:20:44 +02:00
Chris Clayton
376d831178
uvch264src: fix compiler warnings
...
https://bugzilla.gnome.org/show_bug.cgi?id=750601
2015-06-09 18:30:55 +01:00
Ilya Konstantinov
05cc418ca2
avfassetsrc: fix huge memory leak
...
CMSampleBuffers were retained -> huge memory leak.
https://bugzilla.gnome.org/show_bug.cgi?id=750638
2015-06-09 16:36:41 +02:00
Ilya Konstantinov
faf903720a
vtenc: no need for queue_length with try_pop
2015-06-09 16:20:06 +02:00
Ilya Konstantinov
1f7681dd0a
vtdec: don't copy meta from input to output
...
Copying arbitrary metas is going to cause problems and this should really be
handled by the base class. It overrides most other things already anyway,
including timestamp and duration. Those are just set here now so we can
insert the frame sorted into the queue.
https://bugzilla.gnome.org/show_bug.cgi?id=748922
2015-06-09 16:20:06 +02:00
Stefan Sauer
d24c29eec4
cruft: add the obsolete tmpl dir to cruft-dirs
2015-06-09 15:39:26 +02:00
Tim-Philipp Müller
654a5f3fc7
audiomixer: fix misleading documentation copied from adder
2015-06-09 14:37:36 +01:00
Sebastian Dröge
1a15c2e426
dash: Add $(GST_PLUGINS_BASE_LIBS) to LIBADD
...
https://bugzilla.gnome.org/show_bug.cgi?id=750619
2015-06-09 12:12:25 +02:00
Edward Hervey
197f86b37b
Automatic update of common submodule
...
From d9a3353 to 6015d26
2015-06-09 11:30:29 +02:00
Jan Schmidt
6fde1dfa88
dvdspu: Map the pixel data once per render, not *ahem* twice per byte.
...
The naive port to 1.0 from years ago was silly, make it better.
2015-06-09 09:10:09 +10:00
Stefan Sauer
a46809dc20
Automatic update of common submodule
...
From d37af32 to d9a3353
2015-06-08 23:08:04 +02:00
Florin Apostol
8b18be5bfb
tests: dashdemux: add unit tests for checking the parsing of MPD element
...
Create a dash test target and add unit tests that check the parsing of
attributes of the MPD element and the following child elements:
- baseURL
- program information
- location
- metrics
These tests check the compliance of parts of the MPD parser in the
dashdemux element against the DASH specification [1].
[1] http://standards.iso.org/ittf/PubliclyAvailableStandards/c065274_ISO_IEC_23009-1_2014_Electronic_inserts.zip
http://standards.iso.org/ittf/PubliclyAvailableStandards/c065274_ISO_IEC_23009-1_2014.zip
https://bugzilla.gnome.org/show_bug.cgi?id=750390
2015-06-08 13:17:49 -03:00
Thiago Santos
7b8d819d18
videoaggregator: simplify aggregate returning
...
Rework special handling with goto/labels to only have one case
and otherwise just return normally.
2015-06-08 12:35:25 -03:00
Thiago Santos
443a3beb8f
videoaggregator: refactor caps reconfigure to its own function
...
Makes the aggregation code shorter and easier to read
2015-06-08 12:34:23 -03:00
Thiago Santos
9f9c723f5d
videoaggregator: fixing types in aggregate function
...
Correctly use boolean and GstFlowReturn types in the function.
2015-06-08 12:33:40 -03:00
Thiago Santos
a5e1f26385
videoaggregator: use macro to access aggregator src pad
...
Makes code a bit more readable
2015-06-08 12:09:51 -03:00
Thiago Santos
0a495cbea2
aggregator: add a convenience macro to get the source pad
...
Easier than casting or acessing the parent everywhere
2015-06-08 12:09:51 -03:00
Luis de Bethencourt
afcb49dcce
tsdemux: correct fix for dead code
...
Rename template to caps to keep the original intention of the code after
commit b4c9aa1c
CID #1304674
2015-06-08 14:19:27 +01:00
Luis de Bethencourt
e9cb38017b
Revert "tsdemux: remove dead code"
...
This reverts commit 0635acfec0
.
2015-06-08 14:14:41 +01:00
Luis de Bethencourt
0635acfec0
tsdemux: remove dead code
...
After commit b4c9aa1c30
template will always be
NULL. The if conditional will always be FALSE, so removing it.
CID #1304674
2015-06-08 13:37:35 +01:00
Stefan Sauer
81a3585904
Automatic update of common submodule
...
From 21ba2e5 to d37af32
2015-06-07 23:06:38 +02:00
Stefan Sauer
6e2a907897
Automatic update of common submodule
...
From c408583 to 21ba2e5
2015-06-07 17:32:07 +02:00
Stefan Sauer
814fb0d18e
docs: remove variables that we define in the snippet from common
...
This is syncing our Makefile.am with upstream gtkdoc.
2015-06-07 17:19:04 +02:00
Stefan Sauer
437867f5f4
Automatic update of common submodule
...
From d676993 to c408583
2015-06-07 17:16:25 +02:00
Sebastian Dröge
04e39278d5
Back to development
2015-06-07 16:45:04 +02:00
Stefan Sauer
02c75e52d6
docs: only add the libs that we actually document right now
...
Keep the libs in alphabetical order unless a specific link order is required.
Also remove the -L directives as we specify the direct path to the .la files.
2015-06-07 16:30:07 +02:00
Stefan Sauer
dd181ee25f
docs: remove duplicated entry from types file
2015-06-07 16:28:22 +02:00
Stefan Sauer
4243db850c
zbar: split test
...
Lets not cram everything into a single test - this would render the test name
useless for quick diagnosis. Having separate tests for the optional feature is
also verifying the behaviour when the feature is off.
2015-06-07 16:27:13 +02:00