summaryrefslogtreecommitdiff
path: root/gst
AgeCommit message (Collapse)AuthorFilesLines
2018-09-10h265parse: Fix periodic SPS/PPS sending work after a seekSeungha Yang1-1/+5
Apply the commit ef71b61 See also https://bugzilla.gnome.org/show_bug.cgi?id=742212 https://bugzilla.gnome.org/show_bug.cgi?id=754124
2018-09-10h265parse: Add support insert parameter set per IDRSeungha Yang2-112/+132
Apply commits 0c04e00, bf0d952 and a0876aa to h265parse. See also https://bugzilla.gnome.org/show_bug.cgi?id=766803 https://bugzilla.gnome.org/show_bug.cgi?id=754124
2018-09-10h265parse: Don't discard first AU delimiterSeungha Yang1-0/+6
Apply the commit 48a1f27 https://bugzilla.gnome.org/show_bug.cgi?id=754124
2018-09-10h265parse: Consider SEI NALU as "HEADER" packetsSeungha Yang1-0/+1
Apply the commit 69c09c3 https://bugzilla.gnome.org/show_bug.cgi?id=754124
2018-09-10h265parse: Don't unref buffer that was unreffed just a few lines before alreadySeungha Yang1-1/+0
Apply the commit 9b50a12 https://bugzilla.gnome.org/show_bug.cgi?id=754124
2018-09-10h265parse: Reset the parser information when caps changesSeungha Yang1-19/+36
Apply the commit 14f6fcd https://bugzilla.gnome.org/show_bug.cgi?id=754124
2018-09-10h265parse: Fix collection of access units to preserve config headersSeungha Yang1-2/+9
Apply the commit 7d44a51 See also https://bugzilla.gnome.org/show_bug.cgi?id=732203 https://bugzilla.gnome.org/show_bug.cgi?id=754124
2018-09-10h265parse: Improve conditions for skipping NAL unitsSeungha Yang1-14/+36
See also https://bugzilla.gnome.org/show_bug.cgi?id=732203 https://bugzilla.gnome.org/show_bug.cgi?id=754124
2018-09-10h265parse: Introduce new state tracking variablesSeungha Yang2-1/+33
Direct applying the commit 7bb6443. This could fix also unexpected nal dropping when nonzero "config-interval" is set. (e.g., gst-launch-1.0 videotestsrc ! x265enc key-int-max=30 ! h265parse config-interval=30 ! avdec_h265 ! videoconvert ! autovideosink) Similar to the h264parse, have_{vps,sps,pps} variables will be used for deciding on when to submit updated caps or not, and rather mean "have new SPS/PPS to be submitted?" See also https://bugzilla.gnome.org/show_bug.cgi?id=732203 https://bugzilla.gnome.org/show_bug.cgi?id=754124
2018-09-10h265parse: Fix and optimize NAL collection functionSeungha Yang1-3/+3
Adopt h264parse's _collect_nal() behavior. See also commit 5601c87 and https://bugzilla.gnome.org/show_bug.cgi?id=732154 https://bugzilla.gnome.org/show_bug.cgi?id=754124
2018-09-10h265parse: Unref/replace force_key_unit_event in gst_h265_parse_resetSeungha Yang1-1/+1
Apply the commit 36a2aca https://bugzilla.gnome.org/show_bug.cgi?id=754124
2018-09-10h265parse: Copy over DISCONT flag from input buffersSeungha Yang2-0/+14
Apply the commit 10ffa08 https://bugzilla.gnome.org/show_bug.cgi?id=754124
2018-09-10watchdog: Add missing static keywordNicolas Dufresne1-4/+2
get/set_property method should have been static.
2018-09-03timecodestamper: Fix typo in set_drop_frameVivia Nikolaidou1-1/+1
Was checking if fps_d == 60000 (instead of fps_n), causing 60000/1001 to be always falsely interpreted as non-drop-frame
2018-08-28audiobuffersplit: Fix format string warningJohan Bjäreholt1-2/+2
We have a GST_DEBUG_OBJECT, which prints a guint64 with %lu which gave a compiler warning. Used G_GUINT64_FORMAT instead. https://bugzilla.gnome.org/show_bug.cgi?id=797036
2018-08-19freeverb: update for g_type_class_add_private() deprecationTim-Philipp Müller1-8/+5
Not that the private struct is really needed here.
2018-08-17audiobuffersplit: Add a gapless mode which inserts silence/drops samples on ↵Sebastian Dröge2-11/+178
disconts The output is always a continguous stream without any gaps.
2018-08-17audiobuffersplit: Always set DISCONT flag after resyncsSebastian Dröge1-0/+4
2018-08-17audiobuffersplit: Keep track of resync time separatelySebastian Dröge2-5/+3
If we drain after a discont, the discont time given by the stream synchronizer is already the time after the discontinuity. But we need to drain all pending data based on the previous discont time instead.
2018-08-17audiobuffersplit: Update output buffer size after each buffer to compensate ↵Sebastian Dröge1-0/+7
for accumulated errors https://bugzilla.gnome.org/show_bug.cgi?id=796981
2018-08-17avwait: Start video and audio together if audio starts lateVivia Nikolaidou2-14/+72
Also add test to meson https://bugzilla.gnome.org/show_bug.cgi?id=796977
2018-08-16compositor: Define crossfade-ratio to have range [0.0,1.0]Sebastian Dröge1-10/+9
Previously negative values had the same effect as 0.0, which was confusing. https://bugzilla.gnome.org/show_bug.cgi?id=796845
2018-08-16rfbdecoder: don't free decoder dataWim Taymans1-3/+0
The decoder data is freed when we read more data.
2018-08-01avwait: Don't wait if audio_running_time_to_wait_for is NONEVivia Nikolaidou1-12/+2
The case is properly handled a few lines below by dropping the buffer. We shouldn't perpetually block the audio chain function until the target-timecode is reached. https://bugzilla.gnome.org/show_bug.cgi?id=796906
2018-07-27jpegparse: Generate timestamp if framerate is knownNicolas Dufresne1-0/+3
This change allow setting timestamp on streams that would otherwise have no timestamp. This is useful to make a video from bunch of JPEG files. An example of such pipeline would be: gst-launch-1.0 multifilesrc location=%05d.jpeg caps=image/jpeg,framerate=30/1 \ ! jpegparse ! fakesink silent=0 -v
2018-07-27Add feature options for almost all pluginsNirbheek Chauhan1-1/+1
The only plugins remaining are those that haven't been ported to Meson yet, and msdk. Also, the tests are still automagic. https://bugzilla.gnome.org/show_bug.cgi?id=795107
2018-07-27meson: Add feature options for many pluginsNirbheek Chauhan1-63/+18
The rest will be converted later, these are necessary for gst-build to set options correctly. https://bugzilla.gnome.org/show_bug.cgi?id=795107
2018-07-26compositor: Don't leak all buffers while crossfading and not all pads are ↵Sebastian Dröge1-0/+5
crossfading
2018-07-24avwait: Add recording propertyVivia Nikolaidou2-40/+164
It works like a valve in front of the actual avwait. When recording == TRUE, other rules are then examined. When recording == FALSE, nothing is passing through. https://bugzilla.gnome.org/show_bug.cgi?id=796836
2018-07-23compositor: Use 255 as maximum alpha instead of 256Sebastian Dröge1-7/+5
255 will easily become 0 in the blending function as they expect the maximum value to be 255. Can be reproduce with gst-launch-1.0 videotestsrc pattern=ball ! c.sink_0 \ videotestsrc pattern=snow ! c.sink_1 \ compositor name=c \ sink_0::zorder=0 sink_1::zorder=1 sink_0::crossfade-ratio=0.5 \ background=black ! \ videoconvert ! xvimagesink crossfade-ratio +/- 0.001 makes it work correctly and the same happens at e.g. 0.25, 0.75, N*0.0625 https://bugzilla.gnome.org/show_bug.cgi?id=796846
2018-07-18compositor: Update conversion info in property setterSeungha Yang1-4/+4
... not in getter. Otherwise, video-converter will not be updated with new width/height https://bugzilla.gnome.org/show_bug.cgi?id=796828
2018-06-29ivfparse: Add the AV01 FOURCC for parsing AV1 IVFsGeorg Ottinger1-1/+9
Adds AV01 FOURCC to the list of allowed media files, in order to allow parsing the IVF Container holding AV1 content. At a later point dynamic resolution change can be supported - therefore the sequence header OBU and frame header OBU of AV1 file must be parsed, which can be done in future with the help of gst-lib gstav1parse. https://bugzilla.gnome.org/show_bug.cgi?id=796677
2018-06-23jpegformat: get rid of unnecessary private structsTim-Philipp Müller4-188/+154
2018-06-19tsdemux: Don't set invalid seqnum on segment eventNicolas Dufresne1-1/+3
https://bugzilla.gnome.org/show_bug.cgi?id=796623
2018-06-12tsdemux: Don't query duration if program isn't activeEdward Hervey1-0/+5
2018-06-06mpegtsdemux: Fix SEGMENT seqnum propagationEdward Hervey3-3/+10
* If the seek was handled upstream, use that SEGMENT seqnum * Use the proper invalid default value
2018-05-07gdp: ignore timestamp of eventKyrylo Polezhaiev2-3/+3
This field is not used and will be removed in 2.0 API. https://bugzilla.gnome.org/show_bug.cgi?id=761462
2018-05-06videoaggregator: Switch to a GstVideoAggregatorConvertPad subclassSebastian Dröge2-221/+55
This moves all the conversion related code to a single place, allows less code-duplication inside compositor and makes the glmixer code less awkward. It's also the same pattern as used by GstAudioAggregator.
2018-05-05videoaggregator: Move needs_alpha pad field to the private structSebastian Dröge1-1/+2
And also trigger renegotiation if the value has changed. https://bugzilla.gnome.org/show_bug.cgi?id=795836
2018-05-05videoaggregator: Move aggregated_frame and the pad buffer into the private ↵Sebastian Dröge1-52/+46
struct The aggregated_frame is now called prepared_frame and passed to the prepare_frame and cleanup_frame virtual methods directly. For the currently queued buffer there is a method on the video aggregator pad now.
2018-05-04videoaggregator: Move GstChildProxy implementations into leaf classesSebastian Dröge1-1/+90
Not every subclass will want to expose the pads via the interface. https://bugzilla.gnome.org/show_bug.cgi?id=739011
2018-05-04tsdemux: ignore sparse stream when checking for initial timestampAurélien Zanelli1-4/+17
Unless we only have sparse streams. In this case we will consider them. It fixes a bug happening when first observed timestamp comes from a sparse stream and other streams don't have a valid timestamp, yet. Thus leading the timestamp from sparse stream to be the start of the following segment. In this case, if the timestamp is really bigger than non-sparse stream (audio/video), it will lead the pipeline to clip samples from the non-parse stream. https://bugzilla.gnome.org/show_bug.cgi?id=744469
2018-05-04scenechange: improve detection algorithmVineeth T M1-2/+9
Scene detection determines, how many scenes have changed in a video. It compared the previous frame with present frame to find out the score and a threshold is calculated for the same. I have added an intermediate condition which helps in improving the positive detections. https://bugzilla.gnome.org/show_bug.cgi?id=735094
2018-04-25rfbsrc: Fix decide_allocation to support NULL poolNicolas Dufresne1-1/+5
We were assuming that NULL pool meant that downstream didn't reply. Update the pool index 0 instead of adding at the end. Otherwise we ended up letting basesrc decide, which would pick the blocksize as a size (4096) instead of the image size. https://bugzilla.gnome.org/show_bug.cgi?id=795327
2018-04-25rfbsrc: Fix support for applevncserverNicolas Dufresne1-1/+1
This server uses an unknown 003.889 protocol version. This patch fixes the version validation in order to simply fallback to 3.3 as suggested by the spec.
2018-04-25Meson: Generate pc file for all plugins in badXavier Claessens62-0/+62
https://bugzilla.gnome.org/show_bug.cgi?id=794568
2018-04-25h264parse: add constrained and progressive profilesGuillaume Desmottes1-1/+9
Those profiles have been added in the version 2012-01 and 2011-06 of the AVC spec. https://bugzilla.gnome.org/show_bug.cgi?id=794127
2018-04-22Fix code indentationTim-Philipp Müller1-2/+2
2018-04-21testsrcbin: typo fixesTim-Philipp Müller1-2/+2
2018-04-21testsrcbin: fix bug setting stream flagsTim-Philipp Müller1-1/+1
We would mark all streams with FLAG_UNSELECT as we would check the pointer for non-NULLness not the dereferenced stream number (and the pointer is always non-NULL). The intention here was presumably to mark the first stream of each type as SELECT and the others as UNSELECT by default. CID 1434970.