summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "dashdemux: Include the period start in the fragment timestamps in ↵Sebastian Dröge2015-09-141-6/+2
| | | | | | | | | | | | | | | all cases" This reverts commit e671ad25a989cb21c62c7a5867c2090890ce49ba. The timestamps should restart at 0 again for each period, but we have to adjust the segment to map those timestamps to the actual stream time and running time of that period. Otherwise we would have timestamps that conflict with the ones from the tfdt inside the MP4 container, which are restarting at 0 for each period. https://bugzilla.gnome.org/show_bug.cgi?id=752409
* mpdparser: Consider the repeat count when checking if a segment is the last oneSebastian Dröge2015-09-141-1/+10
| | | | | | Otherwise we play only the first repetition of the last segment and then EOS. https://bugzilla.gnome.org/show_bug.cgi?id=752480
* dashdemux: also check for subfragments on has_next_fragmentThiago Santos2015-09-141-0/+23
| | | | | | In dash isombff profile the fragment is split into subframents where bitrate switching is possible. Also take that into consideration when checking if a stream has next fragments.
* opusenc: improve deprecated properties docsMiguel París Díaz2015-09-111-12/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=754819
* opusenc: do not throw g_warning when getting deprecated propertiesMiguel París Díaz2015-09-111-3/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=754819
* gtk, qt: more specifically define the compile time requirementsMatthew Waters2015-09-102-8/+8
| | | | | | | Otherwise we could include headers/configurations that will never been installed. https://bugzilla.gnome.org/show_bug.cgi?id=754732
* qt: use our function table instead of directly calling gl functionsMatthew Waters2015-09-101-2/+5
| | | | | | | Otherwise when building with --as-needed we would need to link to a GL or GLES library. https://bugzilla.gnome.org/show_bug.cgi?id=754732
* mpdparser: fix period start time scalingVincent Penquerc'h2015-09-071-1/+6
| | | | | | | | | | This GstStreamPeriod start value is expressed in nanoseconds, and the glib time addition function expects microseconds. There seems to have been a confusion with GstPeriodNode's start field, which is expressed in milliseconds. Additionally, add a warning if the timestamp modification did not succeed, and NULL was returned.
* faac: Add bitrate info to the tags output.Jan Schmidt2015-09-051-0/+18
| | | | | Makes it possible for muxers to know the target bitrate as soon as encoding starts, which flvmux now uses.
* gtk: Do not consider GtkEvents as handledThibault Saunier2015-09-041-3/+3
| | | | | | Applications might still want to use them after the sink transformed them into GstNavigation events
* qmlsink: Ensure that at least one windowing system is availableNirbheek Chauhan2015-08-311-2/+2
| | | | | | Otherwise, we'll just crash at runtime because the gl context is NULL https://bugzilla.gnome.org/show_bug.cgi?id=754108
* gtk, qt, gl: fix typo in debug and error messagesTim-Philipp Müller2015-08-313-6/+6
|
* Fix file permissions of some filesTim-Philipp Müller2015-08-282-0/+0
|
* edgedetect: Rename gstedgedetect.c to gstedgedetect.cpp for consistency.Vanessa Chipirrás Navalón2015-08-282-6/+7
| | | | | | | Change the file extension to cpp and add it into Makefile for consistency with other elements of opencv. https://bugzilla.gnome.org/show_bug.cgi?id=754148
* edgedetect: remove unused and useless functions.Vanessa Chipirrás Navalón2015-08-281-2/+0
| | | | | | | | | | The cvSmooth cvNot functions and do not have the correct input parameters. Furthermore, cvSmooth function is not necessary for edge detection, because the Canny function makes the step of smoothing the image. And cvNot function is useless because there aren't changes if this function is eliminated. https://bugzilla.gnome.org/show_bug.cgi?id=754148
* textoverlay: remove unused variableLuis de Bethencourt2015-08-282-8/+0
| | | | Memory is reserved for this variable but never used. Removing it.
* faceblur: remove unused variable.Vanessa Chipirrás Navalón2015-08-282-10/+0
| | | | | | | Memory is reserved for this variable and then released without making any use of it. https://bugzilla.gnome.org/show_bug.cgi?id=753994
* faceblur: need to migrate to C++.Vanessa Chipirrás Navalón2015-08-282-26/+30
| | | | | | | | The cascade classifier changes its structure on new version of OpenCV 2.4.11. It is need to migrate to C++ to utilize the new load method of OpenCV which allows to load the old and new classifiers. https://bugzilla.gnome.org/show_bug.cgi?id=753994
* faceblur: Check CvHaarClassifierCascade is release before being modified.Vanessa Chipirrás Navalón2015-08-281-0/+2
| | | | | | | | | For PROP_PROFILE case that exist inside gst_face_blur_set_property function loads the new XML file in the CvHaarClassifierCascade property without first checking that it is released because maybe there is an XML file previously loaded. https://bugzilla.gnome.org/show_bug.cgi?id=753994
* faceblur: Code refactoring of gst_face_blur_load_profile.Vanessa Chipirrás Navalón2015-08-281-11/+15
| | | | | | | | Changes inside the gst_face_blur_load_profile function, the number of input parameters and in lines where it is used due to it cannot be used generically. https://bugzilla.gnome.org/show_bug.cgi?id=753994
* faceblur: Change gstfaceblur to C++.Vanessa Chipirrás Navalón2015-08-282-9/+10
| | | | | | | | | Change the gstfaceblur.c file to cpp and add it into Makefile. It is necessary to migrate the faceblur plugin to C++, in order to load new and old classifiers, to make faceblur work with newer versions of Opencv. https://bugzilla.gnome.org/show_bug.cgi?id=753994
* dashdemux: don't meddle with the class struct from an instanceTim-Philipp Müller2015-08-271-8/+10
| | | | | | | | | Fix some very dubious code. The class methods should always be set, and the instance-specific check should then be done inside the method. For data_received that's there already, for finish_fragment we need to add it. https://bugzilla.gnome.org/show_bug.cgi?id=753937
* hlsdemux: select correct position for live streams that don't remove fragmentsAthanasios Oikonomou2015-08-261-6/+5
| | | | | | | | | | | | | | Some live streams (eg youtube) don't remove fragments in order to allow seeking back in time (live + vod). When gst_m3u8_client_has_next_fragment is called, we are getting wrong fragment because current_file points in first file of the fragments list resulting in watching the stream from the beginning again. This patch sets current_file to nth fragment for live streams, then on gst_m3u8_client_has_next_fragment will keep up with the live stream. https://bugzilla.gnome.org/show_bug.cgi?id=753344
* glupload: Use base class metadata copy functionNicolas Dufresne2015-08-251-24/+8
| | | | | | | | | | This allow properly copying selected meta, like the composition overlay. Note that output buffer need to be readable, but GlUpload keeps a ref. For now, simply drop GlUpload ref after perform, leaving that ref has no purpose. The method shall be removed in the future. https://bugzilla.gnome.org/show_bug.cgi?id=754047
* glcolorconvert: Use base transform metadata copyNicolas Dufresne2015-08-251-2/+5
| | | | | | | | Use base class default method instead of only copying flags and timestamp. This way, selected meta's like compostion overlay will be passed downstream as expected. https://bugzilla.gnome.org/show_bug.cgi?id=754047
* glimagesink: update display size before sending eventNicolas Dufresne2015-08-221-3/+3
| | | | | This is minor issue, as the reconfigure event is asynchronous. Basically, update width/height before sending the event.
* gl: Let base transform relay the meta api for usNicolas Dufresne2015-08-222-20/+27
| | | | | | | | During allocation query, when this element is not passthrough, it must relay the overlay compostion meta and it's parameters. Fortunatly, base transform can do this for us. https://bugzilla.gnome.org/show_bug.cgi?id=753850
* dtsdec: remove unused valueLuis de Bethencourt2015-08-211-1/+1
| | | | | length is set to a different value before being read. Remove initial value. Silences compiler warning.
* facedetect: remove unnecessary variable.Vanessa Chipirrás Navalón2015-08-212-9/+0
| | | | | | | Memory is reserved for this variable and then released without making any use of it. https://bugzilla.gnome.org/show_bug.cgi?id=748377
* caopengllayersink: Don't chain up to parent's query handling twice for DRAIN ↵hoonhee.lee2015-08-211-1/+0
| | | | | | query https://bugzilla.gnome.org/show_bug.cgi?id=753913
* dashdemux: Handle encoding specified in the <xml> element when dumping nodesSebastian Dröge2015-08-191-9/+1
| | | | | | | | Previous patch did not handle the case where an encoding (e.g. UTF-8) is specified in the <xml ?> element. Added an extra test for with and without encoding. https://bugzilla.gnome.org/show_bug.cgi?id=753813
* assrender: check video frame mapping succeeded before blendingArnaud Vrac2015-08-191-15/+30
| | | | | | | If the mapping fails just skip overlay rendering and push the video frame downstream. https://bugzilla.gnome.org/show_bug.cgi?id=753822
* dashdemux: replace xmlNodeDump with xmlNodeDumpOutputAlex Ashley2015-08-191-8/+36
| | | | | | | | | | When running on an STB, the function gst_mpdparser_get_xml_node_as_string causes a segmentation fault. This code works correctly on a Linux desktop. Looking at the libxml documentation, the xmlNodeDump is deprecated. Replacing the use of xmlNodeDump with xmlNodeDumpOutput fixes the segfault on the STB and removes the use of the deprecated function.
* hlsdemux: abort playlist update when cancelledArnaud Vrac2015-08-191-1/+1
| | | | | Otherwise the download thread will get stuck, since the downloader is disabled.
* gtk/gl: Use our GL function table instead of directly calling GL functionsSebastian Dröge2015-08-191-5/+7
| | | | Otherwise we would have to link the plugin to the GL libraries directly.
* handdetect: remove unnecessary variable.Vanessa Chipirrás Navalón2015-08-182-7/+0
| | | | | | | Memory is reserved for this variable and then released without making any use of it. https://bugzilla.gnome.org/show_bug.cgi?id=752528
* handdetect: check CvHaarClassifierCascade is release before being modified.Vanessa Chipirrás Navalón2015-08-181-0/+4
| | | | | | | Make sure a previous cascade, if it exists, is released before loading a new XML file onto it. https://bugzilla.gnome.org/show_bug.cgi?id=752528
* handdetect: code refactoring of gst_handdetect_load_profile.Vanessa Chipirrás Navalón2015-08-181-23/+21
| | | | | | Change gst_handdetect_load_profile() so it can be used generically. https://bugzilla.gnome.org/show_bug.cgi?id=752528
* daalaenc: Fix buildSebastian Dröge2015-08-181-86/+90
| | | | | And also only generate the supported caps once, not on every CAPS/ACCEPT_CAPS query. It's not that cheap.
* x265enc: add accept-caps handlingThiago Santos2015-08-171-0/+27
| | | | | | Ovewrite default handling to avoid doing a caps query. Check the received caps against the possible formats supported by the x265 library.
* daalaenc: add accept-caps handlingThiago Santos2015-08-171-0/+29
| | | | | | Ovewrite default handling to avoid doing a caps query. Check the received caps against the possible formats supported by the daala library.
* videoencoders: use template subset check for accept-capsThiago Santos2015-08-173-0/+6
| | | | | | | It is faster than doing a query that propagates downstream and should be enough Elements: openjpegenc, schroenc, webpenc, pnmenc
* opencv: support alternative path conventionLuis de Bethencourt2015-08-172-2/+2
| | | | | | | | Some distributions store OpenCV files in /usr/share/opencv and some others (and default when building from source) install them in /usr/share/OpenCV. Support both to find cascade files. https://bugzilla.gnome.org/show_bug.cgi?id=753651
* dashdemux: link against gio for g_resolver and g_inet_address_from_stringRico Tzschichholz2015-08-171-0/+2
| | | | Add missing gio-2.0 CFLAGS/LIBS to fix linker failure
* audioencoders: use template subset check for accept-capsThiago Santos2015-08-176-0/+8
| | | | | | | It is faster than doing a query that propagates downstream and should be enough Elements: faac, gsmenc, opusenc, sbcenc, voamrwbenc, adpcmenc, sirenenc
* voaacenc: Remove custom getcaps and just use the templateThiago Santos2015-08-171-73/+7
| | | | | We know from the beginning the caps that are acceptable, no need for custom getcaps or manually generating caps.
* voaacenc: add version to gst-launch string on documentationThiago Santos2015-08-171-1/+1
| | | | gst-launch will call the 0.10 version, we want 1.0
* faac: make template pad caps more accurate and remove custom getcapsThiago Santos2015-08-171-59/+46
| | | | | Allows reusing baseclass caps query handling and simplifying negotiation code.
* mpg123: still reset pending audio info on hard flushTim-Philipp Müller2015-08-171-0/+2
| | | | | | Follow-up to previous commit. https://bugzilla.gnome.org/show_bug.cgi?id=752431
* mpg123: fix handling of sample rate change during playbackJason Litzinger2015-08-171-1/+0
| | | | | | | | If the sample rate of the media changes, the resulting flush will clear the has_next_audioinfo flag, and the caps won't be sent downstream. https://bugzilla.gnome.org/show_bug.cgi?id=752431