- 23 Aug, 2019 3 commits
-
-
Mathieu Duponchelle authored
-
Gauthier Lamaison authored
Do not take device_name if a device has been specified. Do not take device_index into account if a device or a device name has been specified.
-
Matthew Waters authored
Fixes gst-build with -Dauto-features=disabled -Dbad=enabled
-
- 22 Aug, 2019 8 commits
-
-
U. Artie Eoff authored
When vpp rotation is 90 or 270, the output frame should be rotated, too. Example: gst-launch-1.0 -vf videotestsrc \ ! video/x-raw,width=720,height=480 \ ! msdkvpp rotation=90 ! vaapisink
-
Matthew Waters authored
NULL checking the main_context does not help as we've just destroyed the GMainContext and set that field to NULL, not to mention it's unnecessary. Fixes a leak of display's GSource.
-
Matthew Waters authored
They may not have had an explicit removal from the subclass.
-
Matthew Waters authored
Fixes a memory leak of the attachment descriptions we receive from the subclass.
-
Matthew Waters authored
g_list_delete_link() free()'s the list node so any access after that is a use-after-free.
-
Matthew Waters authored
Don't access them as plain GstVulkanWindow objects.
-
Matthew Waters authored
Otherwise changing the output* properties have no effect until someone else performs a renegotiation.
-
Matthew Waters authored
Fixes left and right output modes.
-
- 21 Aug, 2019 4 commits
-
-
Jan Schmidt authored
PES packets with size 0 are unbounded, and could therefore overflow the 32-bit size accumulator. Add a 32MB limit, which is larger than any PES packet should ever get. If one does, then output a 32MB chunk and continue.
-
Seungha Yang authored
_decrypt_start() failure will lead to decryption failure eventually but catching it earlier if possible. The decrpytion start failure means that the hls plugin was built without crypto library or crypto library does not want to accept given key and IV.
-
Seungha Yang authored
crypto libraries are not required for hlssink and hlssink2. Also, hlsdemux with nonencrypted stream can work without crpyto. Make an error only when users set "hls-crpyto" with non-auto option explicitly, but no crpyto library was found.
-
Seungha Yang authored
nvdec can response for the CUDA context type query regardless of openGL availability.
-
- 20 Aug, 2019 14 commits
-
-
Thomas Coldrick authored
-
Xavier Claessens authored
-
Xavier Claessens authored
-
Xavier Claessens authored
Android documentation has example code how to compute width and height when crop values are present. https://developer.android.com/reference/android/media/MediaCodec#accessing-raw-video-bytebuffers-on-older-devices
-
Xavier Claessens authored
-
Xavier Claessens authored
-
Xavier Claessens authored
Magical 0/1 values where passed to gst_amc_codec_configure() flags argument. It's more natural to have a boolean is gst_amc_codec_new().
-
Xavier Claessens authored
It is not needed, we can just try to get the key and ignore error. NdkMediaFormat doesn't have that method.
-
Xavier Claessens authored
-
Xavier Claessens authored
There is no NdkMediaCodecList API yet, but it is still better to isolate JNI code. This will facilitate porting to a native API if Google ever release one.
-
Xavier Claessens authored
This will facilitate adding another implementation based on NdkMediaCodec instead of JNI.
-
Nirbheek Chauhan authored
On Windows, if libusrsctp and gstreamer are built with different C runtimes (CRT), we cannot free memory allocated inside libusrsctp with the `free()` function from gstreamer's CRT. `usrsctp_freedumpbuffer()` simply calls `free()`, but because of the way DLLs work on Windows, it will always call the free function from the correct CRT.
-
Matthew Waters authored
A guint32 greater than 2^31 would be interpreted as negative by gst_util_uint64_scale_int() and critical. Use the 64-bit integer version of the function instead.
-
Seungha Yang authored
gst_query_get_n_allocation_pools > 0 does not guarantee that the N th internal array has GstBufferPool object. So users should check the returned GstBufferPool object from gst_query_parse_nth_allocation_pool.
-
- 19 Aug, 2019 5 commits
-
-
Seungha Yang authored
Since nvdec/nvenc engine is running on default stream, non-default CUDA stream should be synchronized with default stream eventually.
-
wangfei authored
Add a separate epb_cache variable to the codecparser NalReader to detect Emulation Prevention Bytes separately from the main bit cache. This fixes problems where the existing logic can mistakenly detect multiple EPB with a sequence like: 0x00 0x00 0x03 0x00 0x03. In that case, the 5th byte should not be regarded as an EPB.
-
Seungha Yang authored
Use CUDA async operation if possible with non default CUDA stream
-
Seungha Yang authored
Async CUDA operation with default stream (NULL CUstream) is not much beneficial than blocking operation since all CUDA operations which belong to the CUDA context will be synchronized with the default stream's operation. Note that CUDA stream will share all resources of the corresponding CUDA context but which can help parallel operation similar to the relation between thread and process
-
Seungha Yang authored
-
- 18 Aug, 2019 1 commit
-
-
Seungha Yang authored
The internal decoding state must be GST_NVDEC_STATE_PARSE before calling CuvidParseVideoData(). Otherwise, nvdec will be confused on decode callback as if the frame is decoding only frame and the input timestamp of corresponding frame will be ignored. Eventually one decoded frame will have non-increased PTS.
-
- 16 Aug, 2019 3 commits
-
-
Aaron Boxer authored
Don't signal a pipeline error when processing incomplete j2pk PES packets that are too small. That can happen normally during a DISCONT and shouldn't shut down the whole pipeline
-
Mathieu Duponchelle authored
-
Seungha Yang authored
The destroy callback can be called just before the fìnalization of GstMiniObject. So the nvdec object might be destroyed already. Instead, store the GstCudaContext with increased ref to safely unregister the CUDA resource.
-
- 15 Aug, 2019 2 commits
-
-
Seungha Yang authored
... caused by null pointer dereference. The d3dvideosink object might not available yet on the handler.
-
Seungha Yang authored
d3d11 never use any API of gstreamer-allocators-1.0
-