Andoni Morales Alastruey [Fri, 2 Mar 2012 14:37:57 +0000 (15:37 +0100)]
d3dvideosink: add missing directx headers
Edward Hervey [Fri, 2 Mar 2012 10:07:47 +0000 (11:07 +0100)]
mpegvideoparse: Fix level code
Valid ranges are from 4 to 10
Valid ranges >> 1 are from 2 to 5
Valid ranges >> 1 - 2 are from 0 to 3
(and not from 1 to 4)
Edward Hervey [Fri, 2 Mar 2012 09:54:48 +0000 (10:54 +0100)]
mpegtsbase: Check harder for program changes
And don't just rely on the section crc/version_number changing to
indicate that the program actually changed.
Tim-Philipp Müller [Thu, 1 Mar 2012 18:46:51 +0000 (18:46 +0000)]
vdpau: relicense four source files from GPL3+ to LGPL2+
These source files were mistakenly licensed as GPL3, the
author (Carl-Anton Ingmarsson) has given permission to
relicense them to LGPL2+.
https://bugzilla.gnome.org/show_bug.cgi?id=671142
Edward Hervey [Thu, 1 Mar 2012 17:05:17 +0000 (18:05 +0100)]
mpegtsbase/tsdemux: Refactor seek and segment handling
All calculations go through the mpegtspacketizer
Remove unused variables/code
Edward Hervey [Thu, 1 Mar 2012 16:59:57 +0000 (17:59 +0100)]
mpegtsbase: Error out on EOS without any pad
Avoids ending up with hanging pipelines
Edward Hervey [Thu, 1 Mar 2012 16:56:34 +0000 (17:56 +0100)]
mpegtspacketizer: Offset calculation
Allows PCR<=>PTS<=>offset estimation/calculation
Right now the calculation is very naive, but can be extended later on
without disrupting the code in tsdemux/mpegtsbase
Edward Hervey [Thu, 1 Mar 2012 16:53:41 +0000 (17:53 +0100)]
mpegtspacketizer: clock fix and minor addition
* Don't take into account packets that arrived at the same time as
previous ones for clock skew estimation
* Add convenience method for processing the next ts packet
Edward Hervey [Wed, 29 Feb 2012 17:19:23 +0000 (18:19 +0100)]
Revert "mpegtsdemux: Not apply various time the same PMT to a program when repetead"
This reverts commit
8cb0e87f5623836ddc361eb91dcf9b50b48048e7.
mpegtspacketizer already checks if it's a new PMT or not
Edward Hervey [Wed, 29 Feb 2012 09:33:00 +0000 (10:33 +0100)]
tsdemux: Remove all seeking code
It was more than bogus
Xavier Queralt [Tue, 14 Feb 2012 10:57:00 +0000 (11:57 +0100)]
hlsdemux: don't set the fetcher's location twice
Calling gst_element_make_from_uri already does it and filesrc
fails when using file protocol in a location
Guillaume Desmottes [Tue, 28 Feb 2012 15:27:55 +0000 (16:27 +0100)]
Add missing GLIB_DISABLE_DEPRECATION_WARNINGS
Suppress warnings about deprecated threading and GValueArray
API, so git compiles with -Werror.
https://bugzilla.gnome.org/show_bug.cgi?id=670982
Xavier Queralt [Fri, 24 Feb 2012 08:54:35 +0000 (09:54 +0100)]
hlsdemux: don't fail for playlists smaller than fragments-cache
https://bugzilla.gnome.org/show_bug.cgi?id=670963
Thibault Saunier [Mon, 27 Feb 2012 12:45:29 +0000 (09:45 -0300)]
mpegtspacketizer: catch section lengths extending past the buffer length
This is probably the cause for an occasional crash while streaming
MPEG. Blind fix after staring at the code and following logic, so
may or may not fix the issue, I cannot test.
(Port of
4275a70cb55d375afa702917f7359ec117ed49d4 from mpegdemux)
Thibault Saunier [Mon, 27 Feb 2012 12:42:27 +0000 (09:42 -0300)]
mpegtspacketizer: support more character set encodings
Support UTF-16BE, EUC-KR (KSX1001), GB2312 and ISO-10646/UTF8 text
encoding and fixed new line for multibyte encoding
https://bugzilla.gnome.org/show_bug.cgi?id=664257
(Port of
9759d66407f2be8ec29975b0eff3230bb1dae0ef from the mpegtsdemux
element)
Thibault Saunier [Fri, 24 Feb 2012 22:08:40 +0000 (19:08 -0300)]
tsbase: Fix parsing of PSI table IDs
(Ported from mpegtsdemux
d8fd874f5290e4911437120057ee885cdb68b4af)
Thibault Saunier [Fri, 24 Feb 2012 18:26:21 +0000 (15:26 -0300)]
tsdemux: Avoid unlinkely leaks and segfault
Edward Hervey [Fri, 24 Feb 2012 16:53:52 +0000 (17:53 +0100)]
tsdemux: Use new clock skew estimation for outgoing timestamps
Only used in live mode
Edward Hervey [Fri, 24 Feb 2012 16:52:33 +0000 (17:52 +0100)]
tsdemux: Various code cleanup and dead code removal
Edward Hervey [Fri, 24 Feb 2012 16:47:38 +0000 (17:47 +0100)]
mpegtspacketizer: Fix issues with skew code
* Always try to get a timestamp for the algorithm
* Remove dead variable
* Return proper default value
Edward Hervey [Fri, 24 Feb 2012 16:07:43 +0000 (17:07 +0100)]
dvbsrc: Timestamp output by default
Allows downstream elements (like demuxers or parsers) to do remote
clock rate/skew estimation.
Thibault Saunier [Thu, 23 Feb 2012 17:46:09 +0000 (14:46 -0300)]
mpegtspacketizer: Estimate clock skew and retimestamps buffers more precisly
Apply the EPTLA algotithm to estimate clock skew.
Reusing code from -good/gst/rtpmanager/rtpjitterbuffer.c
Thibault Saunier [Tue, 21 Feb 2012 14:12:53 +0000 (11:12 -0300)]
tsdemux: Clean up AAC caps mess
Thibault Saunier [Mon, 20 Feb 2012 20:47:11 +0000 (17:47 -0300)]
tsdemux: Reindent gstmpegdesc.h
Thibault Saunier [Mon, 20 Feb 2012 20:32:21 +0000 (17:32 -0300)]
tsdemux: Support more DTS/AC3 descriptors
Edward Hervey [Thu, 23 Feb 2012 17:17:50 +0000 (18:17 +0100)]
tsdemux: Remove useless finalize()
Mark Nauwelaerts [Thu, 23 Feb 2012 21:04:24 +0000 (22:04 +0100)]
faad: fixup nasty typo breaking compilation
Mark Nauwelaerts [Thu, 23 Feb 2012 20:17:53 +0000 (21:17 +0100)]
h264parse: consider nal_length_size when constructing codec_data
Fixes #670699.
Mark Nauwelaerts [Thu, 23 Feb 2012 20:16:18 +0000 (21:16 +0100)]
faad: discard frame upon decoding error
Edward Hervey [Tue, 8 Nov 2011 19:19:41 +0000 (20:19 +0100)]
tsdemux: Use incoming timestamps in live mode
Edward Hervey [Tue, 8 Nov 2011 19:12:50 +0000 (20:12 +0100)]
tsdemux: Report latency (700ms)
Edward Hervey [Tue, 8 Nov 2011 08:44:18 +0000 (09:44 +0100)]
mpegtsbase: Query whether upstream is live or not
Tim-Philipp Müller [Thu, 23 Feb 2012 11:55:16 +0000 (11:55 +0000)]
Bump version after release
David Schleef [Wed, 22 Feb 2012 02:56:42 +0000 (18:56 -0800)]
autogen.sh: avoid touching .po files during 'make'
A simple workaround to deal with GNU gettext automake integration
failing to deal with git. Fixes #669207
David Schleef [Tue, 21 Feb 2012 04:11:13 +0000 (20:11 -0800)]
colorspace: Fix v210 writing out of bounds
David Schleef [Tue, 21 Feb 2012 02:43:51 +0000 (18:43 -0800)]
schroenc: remove GST_ERROR
David Schleef [Mon, 20 Feb 2012 19:42:23 +0000 (11:42 -0800)]
gst-project-maker: Create tools, pass make distcheck
Create a tools directory for an application. Add source code
stubs to allow the project to compile and pass make distcheck.
Add notes in source code to tell the user how to create plugin
or app code using the other -maker scripts.
Sebastian Dröge [Mon, 20 Feb 2012 11:42:47 +0000 (12:42 +0100)]
decklink: Add $(GST_PLUGINS_BASE_CFLAGS) and $(GST_PLUGINS_BASE_LIBS) to fix the build
David Schleef [Sun, 19 Feb 2012 23:54:39 +0000 (15:54 -0800)]
gst-project-maker: Create autotools project
This is a replacement for gst-template that creates an entire
autotools project (customized to package name), and populates
it with the source for a GStreamer plugin (but no plugin features,
those come from gst-element-maker). Fixes: #665727.
David Schleef [Sun, 19 Feb 2012 20:57:39 +0000 (12:57 -0800)]
printf format fixes
David Schleef [Sun, 19 Feb 2012 08:15:47 +0000 (00:15 -0800)]
colorspace: clamp intermediates when dithering
David Schleef [Mon, 23 Jan 2012 17:05:21 +0000 (09:05 -0800)]
decklink: Add 10-bit support
David Schleef [Mon, 23 Jan 2012 17:02:37 +0000 (09:02 -0800)]
schro: Add RGB support
This uses the automatic YCoCg conversion inside Schroedinger to
encode/decode RGB. Only works in intra-only mode, similar to 10-
and 16-bit, since RGB is technically a >8-bit format for Dirac
purposes. This depends on schroedinger-1.0.12, which is unreleased.
Thibault Saunier [Fri, 17 Feb 2012 15:15:27 +0000 (12:15 -0300)]
mpegtsdemux: Not apply various time the same PMT to a program when repetead
Sometimes their are several times the same PMT applying to a same program in a stream,
tsdemux was totally baffled when this was happening, we now keep the one we
already applied so it works properly.
Thibault Saunier [Thu, 16 Feb 2012 12:54:24 +0000 (09:54 -0300)]
tsdemux: fix glib deprecation
Thiago Santos [Thu, 16 Feb 2012 19:30:02 +0000 (16:30 -0300)]
wrappercamerabinsrc: Put source to null when resetting caps
It seems that v4l2src isn't happy when switching formats on ready
state, it works when putting it to NULL. Keep this workaround in
wrappercamerabinsrc while v4l2src isn't fixed.
Fixes #849832
Thiago Santos [Thu, 16 Feb 2012 04:12:58 +0000 (01:12 -0300)]
wrappercamerabinsrc: Put source in NULL when it fails changing state
When source is being reset to change caps, check the return of
the state syncing function to avoid leaving the source in an
unconsistent state.
Tim-Philipp Müller [Thu, 16 Feb 2012 00:30:05 +0000 (00:30 +0000)]
mve: don't return a boolean for a GstFlowReturn
fixes playback.
Thibault Saunier [Wed, 15 Feb 2012 13:32:17 +0000 (10:32 -0300)]
tsdemux: Avoid throwing FLOW_ERROR on last PCR processing error
In the case of scanning last pcr, errors are not critical, so we keep
the stream flowing.
Thibault Saunier [Tue, 14 Feb 2012 14:44:48 +0000 (11:44 -0300)]
tsdemux: Add AAC latm support
Thibault Saunier [Wed, 15 Feb 2012 14:06:57 +0000 (11:06 -0300)]
tsdemux: Minor refactoring/code cleaning
... add some debugging symbols in the mean time.
Jonas Larsson [Wed, 15 Feb 2012 14:07:35 +0000 (15:07 +0100)]
codecparsers: h264: fix SEI parsing
... in the presence of emulation_prevention_three_byte.
Fixes #668381.
Mark Nauwelaerts [Wed, 15 Feb 2012 13:29:23 +0000 (14:29 +0100)]
h264parse: use proper NALU offset for config data insertion
... which has to be the position of the start code, which is almost always
but need not be 4 bytes.
Raimo Järvi [Sat, 27 Aug 2011 17:58:48 +0000 (20:58 +0300)]
directdrawsink: Fix warnings on 64 bit mingw-w64
gstdirectdrawsink.c:1561:24: error: assignment from incompatible pointer type
gstdirectdrawsink.c:2028:3: error: format '%d' expects type 'int', but argument 8 has type 'size_t'
https://bugzilla.gnome.org/show_bug.cgi?id=657522
Jan Schmidt [Mon, 13 Feb 2012 12:04:12 +0000 (23:04 +1100)]
mpegtsmux: Trivial bug fix. Don't copy data from an uninited buffer.
Mark Nauwelaerts [Fri, 10 Feb 2012 13:46:00 +0000 (14:46 +0100)]
h264parse: unobfuscate frame parsing code
Vincent Penquerc'h [Wed, 8 Feb 2012 21:21:47 +0000 (21:21 +0000)]
shmsink: fix indefinite wait after adding a new fd to the poll set
If the second call to _wait blocks, we will not signal the condition
variable, so ensure that second call is not blocking.
See rationale and information in the linked bug:
https://bugzilla.gnome.org/show_bug.cgi?id=669697
Carsten Kroll [Mon, 22 Aug 2011 14:31:38 +0000 (16:31 +0200)]
d3dvideosink: create a d3d device for each sink and use the default swap chain in connection with flushing the GPU and not recreating the swap chain this avoids tearing also use GST_xx_DEBUG macros where appropriate
Carsten Kroll [Mon, 22 Aug 2011 12:46:48 +0000 (14:46 +0200)]
d3dvideosink: flush GPU before Present added alternate wait for vsync method based on GetRasterStatus
Carsten Kroll [Mon, 22 Aug 2011 12:30:43 +0000 (14:30 +0200)]
d3dvideosink: check for hardware capabilities, when negotiating
Carsten Kroll [Mon, 22 Aug 2011 12:19:06 +0000 (14:19 +0200)]
d3dvideosink: redraw last buffer when new window handle has been set.
Carsten Kroll [Mon, 22 Aug 2011 12:13:30 +0000 (14:13 +0200)]
d3dvideosink: added NV12 + enabled RGB support
Andoni Morales Alastruey [Sat, 27 Aug 2011 11:07:00 +0000 (13:07 +0200)]
d3dvideosink: Fix device initialization check
Thiago Santos [Thu, 2 Feb 2012 16:33:02 +0000 (13:33 -0300)]
camerabin: prevent captures from being lost when switching resolutions
When switching capture caps, camerabin1 resets its state to ready
to force a new caps to be negotiated. This causes ongoing captures
to be aborted.
This commit adds a condition to wait for captures to finish before
going to ready state.
Thiago Santos [Thu, 2 Feb 2012 15:22:06 +0000 (12:22 -0300)]
camerabin: Improve debug message about processing counter
Mention on the logs how many capture operations might have been
lost
Vincent Penquerc'h [Sat, 4 Feb 2012 22:06:57 +0000 (22:06 +0000)]
rotate: angle is in radians already, do not scale it
Other plugins use radians, and the angle documentation says radians.
https://bugzilla.gnome.org/show_bug.cgi?id=669365
Vincent Penquerc'h [Sat, 4 Feb 2012 22:06:12 +0000 (22:06 +0000)]
rotate: fix description string to match what the element does
https://bugzilla.gnome.org/show_bug.cgi?id=669365
Vincent Penquerc'h [Fri, 3 Feb 2012 11:08:48 +0000 (11:08 +0000)]
mpegtsdemux: do not emit no-more-pads
Doing so may fix some things, but breaks others (new streams being
added in the future).
https://bugzilla.gnome.org/show_bug.cgi?id=665814
Mark Nauwelaerts [Fri, 3 Feb 2012 10:26:53 +0000 (11:26 +0100)]
h264parse: decrease passthrough negotiation preference
Also ensure parsing fixed caps when negotiating rather than failing to
handle non-fixed list cases.
See #668471.
Tim-Philipp Müller [Fri, 3 Feb 2012 00:50:33 +0000 (00:50 +0000)]
build: fix CFLAGS order and LIBS order
_BAD_CFLAGS should always come first, then GST_PLUGINS_BASE_CFLAGS,
then GST_BASE_CFLAGS then GST_CFLAGS. Same for libs: first plugins
base libs, then GST_BASE_LIB then GST_LIBS.
Vincent Penquerc'h [Thu, 2 Feb 2012 11:41:15 +0000 (11:41 +0000)]
mpegpsmux: include specific AAC stream-format in template caps
This elements seems to support raw and adts AAC.
https://bugzilla.gnome.org/show_bug.cgi?id=665394
Vincent Penquerc'h [Thu, 2 Feb 2012 11:37:55 +0000 (11:37 +0000)]
tsdemux: add explicit supported AAC stream-format in template caps
https://bugzilla.gnome.org/show_bug.cgi?id=665394
Vincent Penquerc'h [Thu, 2 Feb 2012 11:31:32 +0000 (11:31 +0000)]
faad: include specific support AAC stream formats in template caps
https://bugzilla.gnome.org/show_bug.cgi?id=665394
Vincent Penquerc'h [Thu, 2 Feb 2012 11:27:33 +0000 (11:27 +0000)]
mpegtsmux: specify in template caps we only take raw/adts AAC format
This appears to be what this element supports.
https://bugzilla.gnome.org/show_bug.cgi?id=665394
Vincent Penquerc'h [Thu, 2 Feb 2012 11:20:38 +0000 (11:20 +0000)]
mpegdemux: include specific AAC stream-format types in template caps
https://bugzilla.gnome.org/show_bug.cgi?id=665394
Vincent Penquerc'h [Thu, 2 Feb 2012 10:59:53 +0000 (10:59 +0000)]
kate: better error/debug reporting
Include text messages instead of error codes.
Tim-Philipp Müller [Wed, 1 Feb 2012 19:38:59 +0000 (19:38 +0000)]
chromaprint: fix parent structure in boilerplate macro
Mark Nauwelaerts [Wed, 1 Feb 2012 11:47:56 +0000 (12:47 +0100)]
h264parse: disable optimized packetized processing for reverse playback
... as baseparse then provides whole chunks of data (as it should) at once
to be parsed, and so the assumptions used to optimize are no longer valid.
Fixes #667560.
Mark Nauwelaerts [Wed, 1 Feb 2012 11:23:23 +0000 (12:23 +0100)]
h264parse: also mind SEI position for config data insertion
Fixes #668627.
Mark Nauwelaerts [Wed, 1 Feb 2012 11:03:04 +0000 (12:03 +0100)]
h264parse: unbreak optimized packetized NALU collection processing
... in that it was so optimized it did not consider grouping NALU into AU
altogether.
Fixes #668627.
Vincent Penquerc'h [Wed, 14 Dec 2011 19:27:53 +0000 (19:27 +0000)]
tiger: use the new premultiplied support in gstvideo
Vincent Penquerc'h [Mon, 30 Jan 2012 18:46:07 +0000 (18:46 +0000)]
resindvd: fix wedge in preroll when playbin2 deinterlacing is enabled
When deinterlacing is enabled, an extra colorspace element is added.
Colorspace is a basetransform, and is then the only basetransform
element on the video path. A while ago, basetransform started delaying
events till caps were set on its source pad. These things conspired
to end up sending the DVD highlight events onto a blocked pad on
subtitleoverlay.
Ensuring these highlight events are only sent once we're in playing
mode fixes the issue.
https://bugzilla.gnome.org/show_bug.cgi?id=668762
Robert Swain [Wed, 1 Feb 2012 01:13:48 +0000 (02:13 +0100)]
schro: Fix compilation with 1.0.10
Rob Clark [Tue, 27 Dec 2011 03:57:48 +0000 (21:57 -0600)]
videoparsers: set interlaced field in caps for mpeg2
https://bugzilla.gnome.org/show_bug.cgi?id=667218
Alessandro Decina [Tue, 31 Jan 2012 07:44:04 +0000 (08:44 +0100)]
mpegtsmux: update after collectpads2 changes
Gwenole Beauchesne [Wed, 25 Jan 2012 12:57:57 +0000 (13:57 +0100)]
codecparsers: h264: fix parsing of VUI parameters.
max_dec_frame_buffering was mis-parsed because log2_max_mv_length_vertical
was parsed twice.
https://bugzilla.gnome.org/show_bug.cgi?id=668660
Mark Nauwelaerts [Sat, 28 Jan 2012 19:01:35 +0000 (20:01 +0100)]
voamrwbenc: init debug category
Mark Nauwelaerts [Sat, 28 Jan 2012 19:01:19 +0000 (20:01 +0100)]
voaacenc: init debug category
Vincent Penquerc'h [Sat, 28 Jan 2012 12:32:46 +0000 (12:32 +0000)]
kateenc: remove 'flush every packet' hack
This is a bad hack which does not work with Matroska, and is now
obsolete as similar code is not included in oggmux/oggstream.
Vincent Penquerc'h [Fri, 27 Jan 2012 14:49:58 +0000 (14:49 +0000)]
plenty: fixup glib deprecations
Thiago Santos [Fri, 27 Jan 2012 10:36:19 +0000 (07:36 -0300)]
camerabin: Add viewfinder colorspace conversion to default flags
This make the default settings more likely to work. If needed, one
can optimize by disabling conversions with the flags.
Thiago Santos [Mon, 23 Jan 2012 11:04:20 +0000 (08:04 -0300)]
camerabin2: Removing solved TODO and fixing a typo
Alessandro Decina [Wed, 18 Jan 2012 11:04:52 +0000 (12:04 +0100)]
mpegpsdemux: limit the amount of scanning done on duration queries
Limit the amount of data scanned when looking for PTSes in duration queries as a
failsafe for kinda broken, potentially large files with sparse or no PTSes.
Alessandro Decina [Wed, 18 Jan 2012 10:28:26 +0000 (11:28 +0100)]
mpegpsdemux: don't scan for the last PTS if the first wasn't found
Oleksij Rempel (Alexey Fisher) [Tue, 24 Jan 2012 10:22:46 +0000 (11:22 +0100)]
vp8enc: trace outgoing timestamps
add info level prints for outgoing timestamps.
Signed-off-by: Oleksij Rempel (Alexey Fisher) <bug-track@fisher-privat.net>
Vincent Penquerc'h [Mon, 23 Jan 2012 22:20:40 +0000 (22:20 +0000)]
resindvd: fix caps refcount error
/me bad monkey.
Jonas Larsson [Mon, 23 Jan 2012 18:30:19 +0000 (18:30 +0000)]
h264parse: fix gst_h264_parse_clock_timestamp always failing
Tim-Philipp Müller [Mon, 23 Jan 2012 18:01:14 +0000 (18:01 +0000)]
REQUIREMENTS: we need librtmp for rtmp support
https://bugzilla.gnome.org/show_bug.cgi?id=668521
Jonas Larsson [Mon, 23 Jan 2012 17:51:34 +0000 (18:51 +0100)]
codecparsers: read the cbr_flag in h264_parse_hrd_parameters
Vincent Penquerc'h [Mon, 23 Jan 2012 17:47:45 +0000 (17:47 +0000)]
mpegtsdemux: fix frequent deadlock demuxing MPEG TS
A previous patch to add streams early to fix playback of
low bitrate streams causes frequent deadlock of a nature
I'm at loss how to fix.
I'm not certain whether it's a bug in decodebin2, or in
that mpegtsdemux patch.
Since it causes a major regression, let it be disabled for now.