summaryrefslogtreecommitdiff
path: root/gst
Commit message (Collapse)AuthorAgeFilesLines
* pcapparse: fix another regressionTim-Philipp Müller2015-07-031-2/+5
| | | | | | | | | | | | Introduced by c4c9fe60b pcapparse: Take buffer directly from the adapter Using gst_adapter_take_buffer_fast() can lead to buffers that are made up of multiple memories with the first memory smaller than the RTP header size, which violates assumptions GstRtpBaseDepayloader makes, namely that the complete RTP header will be in the first memory. This leads to such packets being dropped when feeding them from pcapparse to RTP depayloaders. Use take_buffer() so we get buffers with a single memory.
* pcapparse: fix regression when handling packets with eth paddingTim-Philipp Müller2015-07-031-3/+2
| | | | | | | | | | Introduced by c4c9fe60b pcapparse: Take buffer directly from the adapter Flush any trailing bytes after the payload from the adapter as well, otherwise we'll read a bogus packet size from the adapter next and then everything goes downhill from there. https://bugzilla.gnome.org/show_bug.cgi?id=751879
* mpegdemux: check pointer before dereferencingSangkyu Park2015-06-261-0/+5
| | | | | | | gst_ps_demux_get_stream() could return NULL when it is unknown stream, check this hasn't happened before dereferencing the returned pointer. https://bugzilla.gnome.org/show_bug.cgi?id=751528
* error-ignore: New element to convert some GstFlowReturn types into othersVivia Nikolaidou2015-06-234-2/+338
| | | | | | | | | Can be used to fix misbehaving sinks. It will pass through all buffers until it encounters GST_FLOW_ERROR or GST_FLOW_NOT_NEGOTIATED (configurable). At that point it will unref the buffers and return GST_FLOW_NOT_LINKED (configurable) - until the next READY_TO_PAUSED or FLUSH_STOP. https://bugzilla.gnome.org/show_bug.cgi?id=750098
* bayer: update ORC filesWim Taymans2015-06-221-616/+760
| | | | Update ORC files with newest ORC to fix backup code generation error.
* irtspparse: reflow code to avoid uninitialized variable warningTim-Philipp Müller2015-06-221-6/+4
| | | | | | | | This should hopefully allow even the most challenged static code analyzer to figure out that it's all fine. Also makes the flow clearer. https://bugzilla.gnome.org/show_bug.cgi?id=751305
* tsmux: code style fixVineeth TM2015-06-221-3/+2
| | | | | | trivial patch to add proper ( while checking for if(G_UNLIKELY()) https://bugzilla.gnome.org/show_bug.cgi?id=751305
* mpeg1sys: remove ancient plugin that's never even been ported to 0.8Tim-Philipp Müller2015-06-229-1998/+0
|
* h264parse: fix typo in log messageTim-Philipp Müller2015-06-201-1/+1
|
* h264parse: Move PAR calcs, and use them for stereoscopic half-aspectJan Schmidt2015-06-191-12/+21
| | | | | | | Move the pixel-aspect-ratio calculations higher up in caps determination, so the results are available for a call to gst_video_multiview_guess_half_aspect() when stereoscopic video is detected.
* fpsdisplaysink: get rendered and dropped stats from QOS messagesAlessandro Decina2015-06-181-38/+40
| | | | | | Use QOS messages to update rendered and dropped frame stats. This is the only accurate method. The old method didn't take max-lateness and latency into account.
* mpegtsmux: Remove redundant min_dtsNicolas Dufresne2015-06-152-13/+6
| | | | | | | After few iteration, this variable became the same as dts. It's not the min as the name says, but the dts of the current buffer. Simply remove and place with dts. Also move the debug trace to actually print the signed version of the running-time dts.
* mpegtsmux: fix build errorVineeth TM2015-06-151-1/+1
| | | | | | | | after e000a6f0a4984fbe81190df6cd439c70dafde3d6, there is build error in bad plugins this happens because, GST_CLOCK_STIME_IS_VALID () is being checked for pad_data but it expects a GstClockTime parameter. Changing the check to 'dts' https://bugzilla.gnome.org/show_bug.cgi?id=750961
* compositor: update zorder documentation.Mathieu Duponchelle2015-06-141-2/+2
| | | | It is not bound between 0 and 10000 anymore.
* tsdemux: Segment start should match first PTSNicolas Dufresne2015-06-121-27/+27
| | | | | | | | The segment should start at first PTS, and the vairable name lower_pts state so correctly. Though we where using the first DTS instead. This could lead to small desynchronization of video stream. https://bugzilla.gnome.org/show_bug.cgi?id=740575
* tsmux: Add negative DTS supportNicolas Dufresne2015-06-124-59/+77
| | | | | | | | | | Use the saved DTS, make it signed and pass that to the stream muxer. This preserves the running time sign. All usage of -1 as invalid TS are now replaced with G_MININT64. Negative values will be seen as wrap-around point, but the delta between PTS and DTS will remain correct. Demuxers don't care about absolute values, they only cares about deltas. https://bugzilla.gnome.org/show_bug.cgi?id=740575
* tsmux: Remove uneeded cast and cast macroNicolas Dufresne2015-06-122-3/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=740575
* mpegtsmux: Properly detect backward DTSNicolas Dufresne2015-06-121-2/+7
| | | | | | | | There was code to detect backward dts, but the marker min_dts was never set. Setting it enable this feature that prevents potential integer overflow when generating TS. https://bugzilla.gnome.org/show_bug.cgi?id=740575
* debugutilsbad: Minor cleanupVivia Nikolaidou2015-06-122-27/+28
| | | | Ran gst-indent on debugutilsbad.c, moved headers to noinst in Makefile.am
* h264parse: Add support for passing stereoscopic/multiview infoJan Schmidt2015-06-122-5/+154
| | | | Pass any multiview info from the container or SEI info downstream
* h264parse: Don't switch to passthrough on set_caps()Jan Schmidt2015-06-122-9/+21
| | | | | | | Wait until at least one keyframe has been parsed before deciding to switch to passthrough mode, in case the stream contains SEI messages that supplement the output caps - for example by providing stereoscopic information
* mpegtsmux: Remove arbitrary constraint on prog-map program idsYanko Kaneti2015-06-122-11/+19
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=746765
* h263parse: Fix PSC matchingEdward Hervey2015-06-111-2/+7
| | | | | | | | | | | | We were off by one byte in the matching It should be (using 24 bit matching): * startcode : 0000 0000 0000 0000 1000 00xx * mask (bin) : 1111 1111 1111 1111 1111 1100 * mask (hex) : f f f f f c * match : 0 0 0 0 8 0 https://bugzilla.gnome.org/show_bug.cgi?id=750685
* liveadder: Fix memory leaks iterating over padsSantiago Carot-Nemesio2015-06-101-6/+5
| | | | | | Rebased for latest master by Nicolas Huet <nicolas.huet@parrot.com>. https://bugzilla.gnome.org/show_bug.cgi?id=745748
* audiomixer: fix misleading documentation copied from adderTim-Philipp Müller2015-06-091-2/+1
|
* dvdspu: Map the pixel data once per render, not *ahem* twice per byte.Jan Schmidt2015-06-092-5/+17
| | | | The naive port to 1.0 from years ago was silly, make it better.
* tsdemux: correct fix for dead codeLuis de Bethencourt2015-06-081-1/+1
| | | | | | | Rename template to caps to keep the original intention of the code after commit b4c9aa1c CID #1304674
* Revert "tsdemux: remove dead code"Luis de Bethencourt2015-06-081-0/+2
| | | | This reverts commit 0635acfec041b1c664bc0770839b1a576e3598b1.
* tsdemux: remove dead codeLuis de Bethencourt2015-06-081-2/+0
| | | | | | | After commit b4c9aa1c308f88bf4e1f69ab0156ed9f99815e8e template will always be NULL. The if conditional will always be FALSE, so removing it. CID #1304674
* Release 1.5.11.5.1Sebastian Dröge2015-06-075-1114/+988
|
* tsdemux: remove ignored assignmentLuis de Bethencourt2015-06-051-1/+0
| | | | Function goes to done before the value set in start_offset is ever used.
* simplevideomarkdetect: fix detect of videomark partially or fully outside videoVineeth TM2015-06-051-14/+73
| | | | | | | | | | In case of the videomark being partially or fully outside, an error was bein thrown saying, mark width is more than video width. And when the width, offset properties are set to maximum it resulted in crash. Instead of throwing error, added logic to detect the mark in case of partial visibility or dont show the mark when it is outside. https://bugzilla.gnome.org/show_bug.cgi?id=743908
* simplevideomark: Add Error logsVineeth TM2015-06-051-1/+4
| | | | | | When the pattern offset is outside the video, the print error message https://bugzilla.gnome.org/show_bug.cgi?id=743908
* tsdemux: refactor pad creationThiago Santos2015-06-041-63/+53
| | | | Avoid repeating the same pad creation code everywhere
* vc1parse: remove useless value assignmentsLuis de Bethencourt2015-06-031-8/+0
| | | | In all these cases ret is set but overwritten before the return of the function
* mpegtsbase: do not access variable after unrefThiago Santos2015-06-021-1/+2
| | | | Data might not exist anymore
* simplevideomark: fix display of videomark partially or fully outside videoVineeth TM2015-06-021-18/+70
| | | | | | | | | | In case of the videomark being partially or fully outside, an error was being thrown saying the mark width is more than video width. And when the width, offset properties are set to maximum it resulted in crash. Instead of throwing an error, add logic to detect the mark in case of partial visibility or don't show the mark when it is outside. https://bugzilla.gnome.org/show_bug.cgi?id=743908
* tsdemux: enable Chinese AVS video streamAurélien Zanelli2015-06-021-0/+8
| | | | | | | | | Chinese broadcaster encapsulate AVS video codec into MPEG2-TS. They use the stream_id 0x42 to identify AVS video streams. It should be noted that this id is currently within the ISO reserved range, hence it's utilisation is unofficial. https://bugzilla.gnome.org/show_bug.cgi?id=727731
* audiointerleave: Always have "channels" be the actual pad countOlivier Crête2015-06-011-7/+5
| | | | | | Don't force it anywhere https://bugzilla.gnome.org/show_bug.cgi?id=750252
* audiointerleave: Use the channel count from the set capsOlivier Crête2015-06-011-3/+4
| | | | This is the same number that was used to allocate the buffer
* audiovisualizer: clean dereferences of private structureLuis de Bethencourt2015-06-011-107/+127
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=742875
* audiovisualizer: make private all variable subclasses don't needLuis de Bethencourt2015-06-012-165/+172
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=742875
* mpegtsmux: don't overwrite valueLuis de Bethencourt2015-05-271-3/+4
| | | | | | | | Value of res is reset to FALSE in each iteration of the while loop. We want to conserve TRUE if any pad event succeeded until we arrive to done. Also, buf is set to the value of *outbuf twice. Removing the first assignment since the second one is outside of a conditional.
* dvbsuboverlay: remove unused assignmentLuis de Bethencourt2015-05-261-1/+0
| | | | | buf is incremented just before returning, this new value is never used. Removing unused assignment.
* exclusion: exception when set factor to 0Vineeth T M2015-05-261-4/+1
| | | | | | | When factor property is set to 0, transform just returns. Adjust the minimum value to 1. https://bugzilla.gnome.org/show_bug.cgi?id=743907
* compositor/glvideomixer: Don't calculate PAR/DAR with unset GstVideoInfosSebastian Dröge2015-05-211-0/+9
| | | | Otherwise we divide by zero.
* compositor: Fix double assignmentSebastian Dröge2015-05-211-5/+0
|
* compositor/glvideomixer: fix up par handlingMatthew Waters2015-05-211-7/+8
| | | | | | We were using the wrong formula https://bugzilla.gnome.org/show_bug.cgi?id=749634
* h264parse: Consider SEI NALU as "HEADER" packetsEdward Hervey2015-05-201-0/+1
| | | | | | | | Like SPS/PPS they do contain information which will be needed to decode the following data (as per definition of the flag) Also ensures that the series of SPS/PPS/SEI NALU before a keyframe can be considered as one contiguous header
* mpegtsmux: Carry over GST_BUFFER_FLAG_HEADEREdward Hervey2015-05-202-1/+8
| | | | | | | In the same way we do it for the DELTA_UNIT flag This allows downstream elements to know whether a given mpeg-ts packet contains a corresponding HEADER elementary unit