summaryrefslogtreecommitdiff
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* avfvideosrc: add frame rate range to capsIlya Konstantinov2015-06-221-9/+29
| | | | | | | | When AVFoundation indicates a supported frame rate range, add it to the caps. This is important for devices such as the iPhone 6, which indicate a single AVFrameRateRange of 2fps - 60fps. https://bugzilla.gnome.org/show_bug.cgi?id=751048
* uvch264src: fix small leak in caps query handlerTim-Philipp Müller2015-06-221-4/+8
| | | | gst_query_set_caps_result() does not take ownership of the caps.
* uvch264_src: add missing break in caps query handlerVineeth TM2015-06-221-0/+1
| | | | | | | | There is a missing break statement in switch, which will result in executing default case as well resulting in wrong behavior https://bugzilla.gnome.org/show_bug.cgi?id=751305
* androidmedia: Allow the application to provide the Java VMSebastian Dröge2015-06-182-0/+15
| | | | | | | | | | | In JNI_OnLoad() we will already get the Java VM passed and could just directly use that. gstreamer_android-1.0.c will now provide this to us. Reason for this is that apparently not all Android system are providing the JNI functions to get the currently running Java VMs, so we would fail to get. With this we will always be able to get the Java VM on such systems.
* androidmedia: Prefer software codecs over hardware codecs for audioSebastian Dröge2015-06-181-2/+4
| | | | | Hardware codecs don't make sense for audio and are generally less reliable on Android than the software codecs.
* androidmedia: Failing to detach a thread is not that much of a problemSebastian Dröge2015-06-181-1/+1
| | | | | Someone else might have detached it before us, so make this just normal debug output instead of a GST_ERROR()
* androidmedia: Don't fail if JNI_CreateJavaVM can't be foundSebastian Dröge2015-06-181-3/+9
| | | | | | | | | We only need that if no Java VM is running yet, and all usual cases, i.e. when calling GStreamer from an actual Android app, there will already be a Java VM we can just use. It seems like some phones come without that symbol, let's hope they come with the other symbol but for now don't make a missing JNI_CreateJavaVM fatal.
* androidmedia: Move variables into the scope where they are neededSebastian Dröge2015-06-151-3/+2
|
* androidmedia: Don't query supported color formats for non-video codecsSebastian Dröge2015-06-151-36/+37
|
* opensles: Fix build with Android API level < 14Arun Raghavan2015-06-132-0/+7
| | | | | | Headers were broken on older Android versions, apparently. https://bugzilla.gnome.org/show_bug.cgi?id=744459
* openslessink: Allow setting the stream type via a propertyArun Raghavan2015-06-136-3/+130
|
* openslessrc: Implement recording presetsArun Raghavan2015-06-137-5/+212
| | | | | | This allows us to signal what kind of audio we are expecting to record, which should tell the system to apply filters (such as echo cancellation, noise suppression, etc.) if required.
* decklinkvideosink: Remove late frame-dropping workaround for basesink bugSebastian Dröge2015-06-132-44/+0
| | | | | This was fixed by https://bugzilla.gnome.org/show_bug.cgi?id=749258 in basesink, and is not necessary to duplicate here anymore.
* decklinkvideosink: Don't require the same framerate in the input as the ↵Sebastian Dröge2015-06-121-0/+17
| | | | | | mode's framerate We only really care about the timestamps for the sink.
* vtenc: always enqueue frames, even on errorIlya Konstantinov2015-06-101-24/+37
| | | | | | | | | | | | 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
* d3dvideosink: Avoid frame rendering while the window is completely hiddenFabio Cetrini2015-06-101-0/+44
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=749856
* vtenc: free input buffer ASAPIlya Konstantinov2015-06-101-0/+4
| | | | | | | | | 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
* vtenc: Add missing gst_vtenc_frame_free() in error pathIlya Konstantinov2015-06-101-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=750668
* vtenc: add alignment=au to sink capsIlya Konstantinov2015-06-101-1/+2
| | | | | | | 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
* uvch264src: fix compiler warningsChris Clayton2015-06-091-15/+18
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=750601
* avfassetsrc: fix huge memory leakIlya Konstantinov2015-06-091-0/+4
| | | | | | CMSampleBuffers were retained -> huge memory leak. https://bugzilla.gnome.org/show_bug.cgi?id=750638
* vtenc: no need for queue_length with try_popIlya Konstantinov2015-06-091-6/+4
|
* vtdec: don't copy meta from input to outputIlya Konstantinov2015-06-091-2/+0
| | | | | | | | | 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
* Fix a common typo: retreive -> retrieveThiago Santos2015-06-051-1/+1
| | | | Seems to have been copy pasted around a few places
* ksvideosrc: fix logic and timestamp non-muxed streams againTim-Philipp Müller2015-06-041-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=750381
* amc: Only lower ranks of OMX.Exynos. audio codecs, the video codecs are ↵Sebastian Dröge2015-06-011-2/+3
| | | | actually working
* amc: Give marginal rank to codecs that start with OMX.Exynos.Sebastian Dröge2015-06-011-0/+10
| | | | | | | | | | OMX.Exynos. codecs are existing on some devices like the Galaxy S5 mini, and cause random crashes (of the device, not the app!) and generally misbehave. That specific device has other codecs that work with a different name, but let's just give them marginal rank in case there are devices that have no other codecs and these are actually the only working ones
* androidmedia: Give lower ranks to codecs not starting with OMX.Sebastian Dröge2015-06-011-3/+16
| | | | | | | | | | | | | On some devices there are codecs that don't start with OMX., while there are also some that do. And on some of these devices the ones that don't start with OMX. just crash during initialization while the others work. To make things even more complicated other devices have codecs with the same name that work and no alternatives. So just give a lower rank to these non-OMX codecs and hope that there's an alternative with a higher rank. Also stagefright gives codecs starting with OMX. a higher rank too and considers other codecs that don't start with OMX. as software codecs.
* vtdec: Require width and height field for H264Nicolas Dufresne2015-06-011-1/+2
| | | | | | | | This decoder does not work if width and height field are not set in the sinkpad caps. Let's make this explicit by adding them to the template caps. https://bugzilla.gnome.org/show_bug.cgi?id=749655
* vtenc: fix keyframe request race conditionIlya Konstantinov2015-06-012-28/+24
| | | | | | | | | | | It is incorrect to modify the frame properties after passing them, since VTCompressionSessionEncodeFrame takes reference and we have no control over when it's being used. In fact, the code can be simplified. We just preallocate the frame properties for keyframe requests, and pass NULL otherwise. https://bugzilla.gnome.org/show_bug.cgi?id=748467
* androidmedia: Conditionally use get_{input,output}_buffer() Android 21 APIsSebastian Dröge2015-05-3110-319/+626
| | | | | Also properly set limit/position on byte buffer, some codecs prefer to have correct values there.
* wasapi: Fix flags order for uninstalled buildJan Schmidt2015-05-211-3/+3
|
* amcaudiodec: Add an output adapter for chunking the output into codec framesSebastian Dröge2015-05-192-10/+46
| | | | | Otherwise the base class will be confused. See https://bugzilla.gnome.org/show_bug.cgi?id=685730
* avfvideosrc: fix unconditional buffer queue unlockIlya Konstantinov2015-05-111-2/+2
| | | | | | | | Unless stopRequest is set, we should unlock conditionally -- otherwise, the 'create:' method can wake up to an empty buffer queue and pull a nil buffer. https://bugzilla.gnome.org/show_bug.cgi?id=748054
* decklink: Rename mode 2048p to 1556pHeinrich Fink2015-05-112-9/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=749218
* decklink: Use correct frame rate for mode 2160p50Heinrich Fink2015-05-111-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=749218
* decklink: Rename mode 3184p to 2160pHeinrich Fink2015-05-112-25/+25
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=749218
* vtdec: We shouldn't manually check reconfigure flag on pads but instead ↵Sebastian Dröge2015-05-081-0/+3
| | | | | | implement ::negotiate() Add FIXME comment related to that.
* androidmedia: Add suport for COLOR_FormatYV12Matthieu Bouron2015-05-042-2/+6
| | | | | | Reference: http://developer.android.com/reference/android/graphics/ImageFormat.html#YV12 https://bugzilla.gnome.org/show_bug.cgi?id=747126
* androidmedia: Declare QOMX_COLOR_FORMATYVU420PackedSemiPlanar32mMultiView ↵Matthieu Bouron2015-05-041-0/+3
| | | | | | | | | constant This color format is the same as QOMX_COLOR_FORMATYUV420PackedSemiPlanar32m but stores two images one after the other in a top-bottom layout. https://bugzilla.gnome.org/show_bug.cgi?id=747126
* androidmedia: Fix slice-height for Tegra 3 devicesMatthieu Bouron2015-05-041-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=748867
* androidmedia: Add support for COLOR_FormatYUV420FlexibleEdward Hervey2015-05-042-1/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=747126
* androidmedia: Add suport for Intel color formatsEdward Hervey2015-05-042-0/+18
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=747126
* ksvideosrc: don't timestamp buffers for muxed streamsAndoni Morales Alastruey2015-04-293-0/+18
|
* ksvideosrc: fix header size for muxed streamsAndoni Morales Alastruey2015-04-291-1/+10
|
* GstDeviceProvider implementation for WIN Kernel Streaming pluginРуслан Ижбулатов2015-04-287-17/+925
| | | | | | | | | | | | | gst_ks_device_provider_probe() is a no-braier, just runs ks_enumerate_devices() and reports the results. Monitoring is a bit more tricky. We have to create a dummy message-processing window and register device change notifications for it. As kernel streaming can (and should) be used for audio capture and audio playback, this change also has certain placeholders for such. https://bugzilla.gnome.org/show_bug.cgi?id=747757
* avfvideosrc: drop frames we get before we have a clockIlya Konstantinov2015-04-261-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=748054
* Remove obsolete Android build cruftTim-Philipp Müller2015-04-261-15/+0
| | | | This is not needed any longer.
* vtdec: fix build error with clangYujin Lee2015-04-261-1/+1
| | | | | | | This commit fixes a simple build error by clang with by clang with [-Werror,-Wtautological-pointer-compare] options. https://bugzilla.gnome.org/show_bug.cgi?id=748110
* decklinkvideosrc: fix mode autodetectionJosep Torra2015-04-221-5/+6
| | | | | | The autodetection mode was broken because a race condition in the input mode setting. The mode could be reverted back when it was replaced in the streaming thread by the old mode in the middle of mode changed callback.