summaryrefslogtreecommitdiff
path: root/gst
Commit message (Collapse)AuthorAgeFilesLines
* mpegdemux: Don't write after the end of the psm array when initialising itSebastian Dröge2014-02-271-1/+1
|
* id3tag: Remove unused function to fix compiler warningSebastian Dröge2014-02-271-13/+0
|
* mpegtsmux: forward tags that have global scopeThiago Santos2014-02-261-1/+1
| | | | | | Instead of dropping all tag events https://bugzilla.gnome.org/show_bug.cgi?id=644395
* tsdemux: store global tags to push laterThiago Santos2014-02-262-1/+51
| | | | | | | | | | Keep a list of current global tags around and push them whenever a new stream is started. Also convert all stream specific tags to global as they are stream specific for the container, so they are global for the streams from within that container. https://bugzilla.gnome.org/show_bug.cgi?id=644395
* mpegpsdemux: Initialize PSM fullyEdward Hervey2014-02-251-4/+5
| | | | | Some gaps were missed in the previous version. Instead just initialize the whole table to -1 first and then fill what needs to be specified.
* debugutilsbad.c fails gst-indent checkKipp Cannon2014-02-251-21/+20
| | | | | | this patch is "gst-indent debugutilsbad.c" https://bugzilla.gnome.org/show_bug.cgi?id=725090
* mpegtsbase: Uncomment PAT clearup in _resetEdward Hervey2014-02-211-11/+4
| | | | | | | | | | The PAT is related to the stream, we therefore want it cleared along with anything stream related. This commented section was from the (old) mpegtsparse and *might* have been related to speeding up DVB start-up. But we have another plan for that. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=724716
* mpegtspacketizer: Fix ts_to_offset beyond last observed PCREdward Hervey2014-02-201-0/+5
| | | | | | | The requested TS might be beyond the last observed PCR. In order to calculate a coherent offset, we need to use the last and previous-to-last groups. https://bugzilla.gnome.org/show_bug.cgi?id=721035
* id3tag: Fix uninitialized variable compiler warningSebastian Dröge2014-02-081-1/+1
| | | | | error: variable 'image_type' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
* dvdspu: Remove unused variableSebastian Dröge2014-02-081-7/+0
|
* mpegtspacketizer: Remove or move variable assignmentsEdward Hervey2014-02-071-4/+3
| | | | To where they're needed
* mpegtsmux: Use mpeg-ts lib for PAT/PMT sectionsJesper Larsen2014-02-065-303/+101
| | | | Rewrite of the PAT/PMT section handling to use the mpeg-ts library
* mpegtsmux: Add support for muxing SI tablesJesper Larsen2014-02-067-4/+275
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The muxer is now able to include DVB sections in the transport stream. The si-interval property will determine how often the SI tables are muxed into the stream. The section is handled by the mpeg-ts library. Below is a small example that will include a Netork Information Table with a Network Name descriptor in the stream. GstMpegTsNIT *nit; GstMpegTsDescriptor *descriptor; GstMpegTsSection *section; GstElement *mpegtsmux; gst_mpegts_initialize (); nit = gst_mpegts_section_nit_new (); nit->actual_network = TRUE; descriptor = gst_mpegts_descriptor_from_dvb_network_name ("Network name"); g_ptr_array_add (nit->descriptors, descriptor); section = gst_mpegts_section_from_nit (nit); // mpegtsmux should be retrieved from the pipeline gst_mpegts_section_send_event (section, mpegtsmux); gst_mpegts_section_unref (section);
* mpegtsdemux: Update plugin license fieldEdward Hervey2014-02-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The original code (old mpegtsparse) from which this plugin was based on was dual-licensed. This allowed usage of the code under any of the licenses (which including LGPL): """ * Alternatively, the contents of this file may be used under the terms of * the GNU Lesser General Public License Version 2 or later (the "LGPL"), * in which case the provisions of the LGPL are applicable instead * of those above. If you wish to allow use of your version of this file only * under the terms of the LGPL, and not to allow others to * use your version of this file under the terms of the MPL, indicate your * decision by deleting the provisions above and replace them with the notice * and other provisions required by the LGPL. If you do not delete * the provisions above, a recipient may use your version of this file under * the terms of the MPL or the LGPL. """ When refactored (leading to the creation of this new plugin), I chose all new code to be LGPL-only (which was allowed for pre-existing code) by removing the MPL sections. The headers were all updated, but not the plugin license field. This commit fixes this.
* wrappercamerabinsrc: stop source to do internal reconfiguration safelyThiago Santos2014-02-041-0/+3
| | | | | | | | | | | | | | | | | | | | In order to be able to change the caps on multiple capsfilters the source element needs to be stopped, otherwise it will get a few reconfigure events and might try to renegotiate while the bin is still transitioning its caps, leading to a not-negotiated failure and the image capture won't happen because the source will be unusable. The solution is to keep the source in paused while the caps are being changed in the bin, and then bring the element back to playing once it is done. Unfortunately this increases the image capture latency, but it should always work. A possible improvement to reduce the latency is to add another signal to be called before 'start-capture': 'prepare-capture'. At this step the camera source should set all caps it needs and get the source ready for doing the capture as soon as 'start-capture' is called. This can be done on a future commit
* camerabin: remove unused variableThiago Santos2014-02-041-30/+0
| | | | Probably a left over from 0.10 -> 1.x porting
* aiffparse: adaptive buffer sizeVincent Penquerc'h2014-02-042-3/+43
| | | | | Copied from wavparse, helps with CPU usage on high bitrate files.
* aiffparse: fix data start offset calculation not counting COMM sizeVincent Penquerc'h2014-02-021-0/+1
| | | | | In particular, this fixes seeking back to the start reading data out of sync with sample start granularity, yielding swapped channels.
* gdp: add DTS to headersThiago Santos2014-01-312-0/+5
|
* gdppay: update to 1.x realityThiago Santos2014-01-312-18/+55
| | | | | | | | | | * stream-start-id is mandatory at the beginning, so add that to the gdp headers * caps must be sent before new segment, invert the order from legacy 0.10 code And fix the tests as a ref is now kept for those buffers that compose the header
* fisheye: Fix documentationColin Macdonald2014-01-311-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723398
* h264parse: Default framerate to 0/1 when no informations foundThibault Saunier2014-01-311-16/+15
| | | | | | | | | | It is not perfect but it allows us to be sure that the mandatory 'framerate' field is present in the caps. As soon as some information is found in the stream, that will be updated. https://bugzilla.gnome.org/show_bug.cgi?id=723243
* gdppay: push the stream-start eventThiago Santos2014-01-301-2/+3
| | | | | instead of just swallowing upstream's stream-start into its payload, push it as elements expect a stream-start before data
* tsdemux: We do not support the SKIP seek flag but that is not a problemSebastian Dröge2014-01-302-2/+2
|
* tsdemux: Fix flags comparison operator precedenceAmaury Medeiros2014-01-281-1/+1
| | | | | | | Fix operator precedence, so the whole operation is negated instead of only flags variable. https://bugzilla.gnome.org/show_bug.cgi?id=722096
* mxfdemux: Don't go into pull mode when the sequential flag is setSjoerd Simons2014-01-241-2/+6
| | | | | | | When the scheduling query results has GST_SCHEDULING_FLAG_SEQUENTIAL set in its flags don't go into pull mode to prevent over-eager seeking. https://bugzilla.gnome.org/show_bug.cgi?id=722934
* h264parse: Fix multiple SEI messages in one SEI RBSP parsing.Aurélien Zanelli2014-01-231-23/+45
| | | | | | | | | | An SEI RBSP could contains more than one SEI message as specified in 7.4.2.3.1. This commit change the parser API: the gst_h264_parser_parse_sei() function now create and fill a GArray containing GstH264SEIMessage. https://bugzilla.gnome.org/show_bug.cgi?id=721715
* mpegtsmux: don't leak pad name when treating eventsJustin Joy2014-01-221-5/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=722699
* mpegpsmux: update last_ts to mux correctlyWim Taymans2014-01-211-0/+3
| | | | | We use last_ts to decide what buffer to mux next so make sure that it always contains the last known valid timestamp.
* mpegpsmux: fix timestamp handlingWim Taymans2014-01-201-10/+3
| | | | | | | | | If the first buffer that we handle for a stream has no timestamp, we would never consider this pad again for muxing which causes queues to fill up and pipelines to stall. Instead, try to mux pads with -1 timestamps as soon as possible. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=722330
* mpegpsmux: return GST_FLOW_EOS when we pushed EOSWim Taymans2014-01-201-1/+4
| | | | | Return GST_FLOW_EOS from the collected function when we pushed EOS or else it simply keeps on calling our collected function.
* h265parse: Update caps when receive VPS/SPS/PPSduhui.lee2014-01-201-3/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=722240
* tsdemux: Fix leak of PCROffsetGroupAndrey Utkin2014-01-171-0/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=722462
* audiomixer: Remove some useless assignments and skip the current part of the ↵Sebastian Dröge2014-01-161-5/+2
| | | | buffer if the pad is muted
* mpegdemux: Merge some changes from the resindvd copyJan Schmidt2014-01-162-10/+22
| | | | | One bug fix, some debug changes and other inconsequential changes just to reduce the diff between the 2 copies a bit.
* audiomixer: Fix and simplify overlap calculationSebastian Dröge2014-01-151-4/+4
|
* tsdemux: fix memleak of PCROffsetCurrentAndrey Utkin2014-01-141-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=722145
* aiffparse: misc code cleanupsStefan Sauer2014-01-091-8/+9
| | | | Fix the launch examples for 1.0. Turn more logging into _OBJECT variants.
* mpeg4videoparse: do not lose DISCONT flag if buffer isn't pushedThiago Santos2014-01-082-0/+12
| | | | | | | | | mpeg4videoparse might not push buffers while parsing. If those buffers contain the DISCONT flag, it gets lost and downstream won't get any buffer with the flag. Fix it by adding the DISCONT to the next pushed buffer. This makes backwards playback work.
* h265parse: Allows hvc1 version 0 and fix reading of NAL count in codec_dataSebastian Dröge2014-01-061-3/+4
|
* h265parse: Fix some more debug outputSebastian Dröge2014-01-061-1/+17
| | | | And don't access invalid memory
* tsdemux: Add HEVC / h265 supportSebastian Dröge2014-01-062-0/+15
|
* aiffparse: typo fix in commentStefan Sauer2014-01-051-1/+1
|
* mpegtsmux: Don't disrupt buffer state in the clip functionJan Schmidt2013-12-312-22/+14
| | | | | | | | | Collectpads assumes that it can pass any buffer to the clip function for adjustment, some of which are artificially injected - so don't adjust global timestamp tracking there. Instead, only adjust the buffer timestamps and use them directly in the collection function. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=698748
* jpegparse: Remove unneeded callEdward Hervey2013-12-301-3/+0
| | | | 'parse' is already provided by the parent variable
* adpcmenc: Properly set output formatSebastian Dröge2013-12-231-2/+3
| | | | Otherwise this will just error out if we only set caps on the srcpad.
* audiomixer: Also resync timestamps on the RESYNC flagSebastian Dröge2013-12-191-1/+3
|
* vc1parse: Some compiler warning fixes to satisfy XCode compilerTodd Agulnick2013-12-161-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=720513
* id3tag: Read image-description from the info structure, not the capsSebastian Dröge2013-12-161-6/+10
|
* id3tag: Write image-type into the APIC tagSebastian Dröge2013-12-161-4/+21
|