Vineeth T M
3024ae9c38
dataurisrc: Remove unnecessary else if condition
...
In gst_data_uri_src_create(), buf cannot be NULL, hence
else if (*buf != NULL) will be invalid so removing the
else if condition and adding a check to unreference buf
in else condition, just in case
https://bugzilla.gnome.org/show_bug.cgi?id=735861
2014-09-04 11:31:56 +03:00
Reynaldo H. Verdejo Pinochet
641e0e973e
dvbsrc: simplify ISDB-T launch line example
2014-09-02 18:06:53 -04:00
Reynaldo H. Verdejo Pinochet
1adc34cc03
dvbsrc: delay locking till actually needed
...
Get rid of unneeded locking at prop setting by doing
it only when tuning the frontend at _tune_fe()
2014-09-02 17:11:40 -04:00
Vineeth T M
76e099e5b9
dataurisrc: Make get_uri() threadsafe
...
https://bugzilla.gnome.org/show_bug.cgi?id=735861
2014-09-02 09:56:41 +03:00
Sebastian Dröge
f5e73d2808
amcaudiodec: Remove hack for Google MP3 decoder
...
The first buffer does not contain more garbage than any other MP3 decoder
outputs and we don't really know how much we have to drop or not.
After this change the output has the same duration as with mad.
2014-09-01 17:44:04 +03:00
Vineeth T M
114ee3355a
zebrastripe: Refactor to remove duplicate code
...
gst_zebra_stripe_transform_frame_ip_planarY
gst_zebra_stripe_transform_frame_ip_YUY2
gst_zebra_stripe_transform_frame_ip_AYUV
all above 3 functions do the same functionality except for offset and pixel stride.
Hence moving the functionality to a single funtion.
https://bugzilla.gnome.org/show_bug.cgi?id=735032
2014-09-01 10:57:45 -03:00
Reynaldo H. Verdejo Pinochet
cd73c776f2
dvbsrc: fix description for modulation prop
2014-08-29 19:38:00 -04:00
Reynaldo H. Verdejo Pinochet
17beaed35f
dvbsrc: add basic checks on ISDB-T parameters
...
Also add a routine for checking wrong delsys/modulation
combinations right before tuning (only implemented for
ISDB-T for now).
2014-08-29 19:38:00 -04:00
Reynaldo H. Verdejo Pinochet
fd64a75926
dvbsrc: add support for additional modulation types
2014-08-29 19:38:00 -04:00
Reynaldo H. Verdejo Pinochet
a0c79bc72b
dvbsrc: drop FIXME on _ISDBT_LAYER_ENABLED prop
...
Valid values range from 1 to 7 as stated.
DTV_ISDBT_LAYER_ENABLED bitmask is built from
OR-ing 0x1 0x2 0x4. If all bits are set
(0x00000111 = 7) it means all layers should be
demodulated.
2014-08-29 19:38:00 -04:00
Tim-Philipp Müller
cd325defca
assrender: remove code that can't be reached
...
If this code could ever be reached, it would leak
memory (CID 1231979), but gst_caps_get_features()
never returns NULL, so that can't happen.
2014-08-29 19:26:40 +01:00
Tim-Philipp Müller
d8b5675ddc
dvbsuboverlay: remove code that can't be reached
...
If this code could ever be reached, it would leak
memory (CID 1231977), but gst_caps_get_features()
never returns NULL, so that can't happen.
2014-08-29 19:24:52 +01:00
Tim-Philipp Müller
ea7d5027a0
h264parse: fix up handling of input caps corner cases
...
Do more elaborate validation of the input caps: what fields
are required and/or not allowed. Don't assume AVC3 format
input without codec_data field is byte-stream format. Fix
up some now-unreachable code (CID 1232800
).
2014-08-28 20:18:17 +01:00
Sebastian Dröge
e4b084acd9
glimagesink: Add missing break to switch
...
CID 1232801
2014-08-28 16:42:30 +03:00
Sebastian Dröge
25b5da587d
rawparse: Reset negotiation state when going back to READY
...
After going back to READY we can accept new format settings again.
2014-08-28 11:37:56 +03:00
Thomas Bluemel
04ca723461
hlsdemux: Support OpenSSL for AES decryption of HLS fragments
...
https://bugzilla.gnome.org//show_bug.cgi?id=735248
2014-08-28 10:34:55 +03:00
Wang Xin-yu (王昕宇)
8d6f745b78
gl: qglwtextureshare demo fixes and cleanup
...
1. glcontextid function is replaced by gstreamer gst_gl_context_new_wrapped .
2. call gst_init before gst_gl_display_new , seems gst_gl_display_new depends
on gst_allocator_register , which only worked after gst_init called
3. flush gstreamer OpenGL context before using shared texture, fix
flicker problem.
https://bugzilla.gnome.org/show_bug.cgi?id=735566
2014-08-28 10:06:00 +03:00
Wang Xin-yu (王昕宇)
9047a01f5f
gl: Add GSTGLAPI macro to the debug callback function
...
Fixes the Windows build.
https://bugzilla.gnome.org/show_bug.cgi?id=735565
2014-08-28 10:00:54 +03:00
Blake Tregre
105b52e88a
rfbsrc: Clamp out of bounds resolutions to prevent segfaults
...
https://bugzilla.gnome.org/show_bug.cgi?id=726801
2014-08-28 09:53:17 +03:00
Carlos Rafael Giani
33fedda489
gl: do not check for GL/GLU/EGL/GLES2 libs if disabled in configuration
...
https://bugzilla.gnome.org/show_bug.cgi?id=735522
2014-08-27 17:14:45 +03:00
Jan Schmidt
c93017a074
egl: Wrap KHR_create_context flags in an ifdef
...
EGL_CONTEXT_FLAGS_KHR and EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR
don't exist in the Android NDK. Wrap their usage in an #ifdef
EGL_KHR_create_context to fix the build there.
2014-08-26 12:41:35 +10:00
Thiago Santos
9b6c8a48b4
h264parse: don't consider unknown stream-format as avc
...
It should try to use bytestream in these cases that the format
is set to _FORMAT_NONE as it seems that is what the 'else' clause
for bytestream can handle (by defaulting to _FORMAT_BYTESTREAM).
2014-08-25 13:37:57 -03:00
Thiago Santos
30a51ca547
h264parse: tests: fix caps for avc format
...
If it has a codec_data field, it should also use the stream-format=avc as
codec_data doesn't make sense otherwise and the default should
be bytestream
2014-08-25 13:37:57 -03:00
Tim-Philipp Müller
ab5ec2b7bf
docs: add mpegpsmux and mpegtsmux
2014-08-25 15:22:14 +01:00
Tim-Philipp Müller
b7a3fdd84f
docs: add audiomixer to docs
2014-08-25 15:20:59 +01:00
Tim-Philipp Müller
0161286fe5
docs: add aiff elements to docs
2014-08-25 15:20:16 +01:00
Tim-Philipp Müller
d7ef610bc3
docs: plugins: misc updates
2014-08-25 14:56:15 +01:00
Tim-Philipp Müller
2dd668a717
docs: move GstPhotography interface docs into the library docs
...
Now that we have docs for the libs.
2014-08-25 14:43:49 +01:00
Tim-Philipp Müller
8a7079dda9
sndfile: don't decode formats that are better handled by other elements
...
In particular: flac, ogg, pcm, au, aiff, wav.
https://bugzilla.gnome.org/show_bug.cgi?id=722316
2014-08-25 12:22:44 +01:00
Matthew Waters
83a32dbddb
egl: fallback to a non-debug context if a debug one fails
...
The text for EGL_KHR_create_context added the possiblity for ES
contexts to ask for a debug context however that has not been
fully realized by all implementations. Fallback to a non-debug
context when the implementation errors.
2014-08-22 16:51:29 +10:00
Youness Alaoui
3c80396424
srtpdec: Add support for RTP/RTCP mixing if data arrives on RTCP pad
...
https://bugzilla.gnome.org/show_bug.cgi?id=734321
2014-08-21 18:45:19 -04:00
Tim-Philipp Müller
334a71506c
dashdemux: fix abort in error code path with newer glib
...
Don't forget to unlock mpd client again when erroring out.
Fixes abort when g_mutex_clear() is called on a locked mutex.
2014-08-21 16:25:55 +01:00
Lubosz Sarnecki
5ae3d68590
gstopengl: add introspection support
...
https://bugzilla.gnome.org/show_bug.cgi?id=734482
2014-08-21 18:41:38 +10:00
Lubosz Sarnecki
57a96ce3e1
examples: fix gtk+ 3.14 deprecation error
...
https://developer.gnome.org/gtk3/3.13/GtkWidget.html#gtk-widget-set-double-buffered
https://bugzilla.gnome.org/show_bug.cgi?id=734482
2014-08-21 17:39:01 +10:00
Lubosz Sarnecki
ddaaff3376
glimagesink: expose context
...
* expose context in draw / reshape callbacks
* add context property
https://bugzilla.gnome.org/show_bug.cgi?id=734482
2014-08-21 17:38:57 +10:00
Lubosz Sarnecki
d2cac06eeb
glshader: expose opengl handle in getter
...
https://bugzilla.gnome.org/show_bug.cgi?id=734482
2014-08-21 17:38:36 +10:00
Wang Xin-yu (王昕宇)
4c65eca7be
gl: check null before unref GstGLDisplay
2014-08-21 14:59:45 +10:00
Matthew Waters
14bd147a2d
gl: add prototype definition for KHR_debug
2014-08-21 10:03:07 +10:00
Matthew Waters
95a4585d4c
glcontext: implement the debug callback
...
For both GL_KHR_debug and ARB_debug_output. This allows us to
receive errors and other hints from the GL instead of querying after
every GL operation.
2014-08-20 23:26:26 +10:00
Matthew Waters
14a3484b14
gl: add prototypes for KHR_debug/ARB_debug_output
2014-08-20 23:26:26 +10:00
Thiago Santos
1cabb3b5a5
dashdemux: unref pad reference when removing internal source in error
...
Avoids leaking the pad in error situations
2014-08-19 17:17:33 -03:00
Thiago Santos
4afa05e567
dashdemux: read language from ContentComponent node as a fallback
...
If the language is not specified in the AdaptationSet, use the ContentComponent
node to get it. We only get it if there is only a single ContentComponent as
it doesn't seem clear on what to do if there are multiple entries
https://bugzilla.gnome.org/show_bug.cgi?id=732237
2014-08-19 16:02:52 -03:00
Matthieu Bouron
82fdb3aefc
dashdemux: push language code tag
...
Language code tag is retrieved from the AdaptationSet language
property.
https://bugzilla.gnome.org/show_bug.cgi?id=732237
2014-08-19 15:34:01 -03:00
Matthew Waters
cb4fd36e7e
gl: don't take an extra ref on the display on set_context
...
gst_context_get_gl_display() returns a ref. Don't take another in
gst_object_replace().
2014-08-19 20:14:22 +10:00
Matthew Waters
30ddb384ab
glmixer: unref the GstGLUpload in the pad if freed while running
...
Dynamic pipelines that get and release the sink pads will finalize
the pad without going through gst_gl_mixer_stop() which is where the
upload object is usually freed. Don't leak objects in such case.
2014-08-19 17:01:36 +10:00
Wang Xin-yu (王昕宇)
98152017b7
glvideomixer: avoid gl resource race condition between different thread
...
https://bugzilla.gnome.org/show_bug.cgi?id=734830
2014-08-19 17:00:58 +10:00
Matthew Waters
0b0c116327
glvideomixer: don't clobber unnecessary GstVideoInfo fields
...
otherwise we might clobber other important fields such as the frame rate.
2014-08-19 14:44:29 +10:00
Matthew Waters
510a016c88
glvideomixer: get the attribute from the correct shader
2014-08-19 14:43:42 +10:00
Matthew Waters
c6706adfcc
glimagesink: unref the window on navigation event
...
plugs a memory leak
2014-08-19 14:24:02 +10:00
Thiago Santos
52257fe538
tsdemux: remove pads when resetting the element
...
Otherwise the pads will be there if it is restarted and the stream
can be a completely different one.
https://bugzilla.gnome.org/show_bug.cgi?id=734394
2014-08-19 00:02:33 -03:00