Vincent Penquerc'h [Mon, 22 Aug 2011 15:52:13 +0000 (16:52 +0100)]
dvdspu: do not clear out high bits from display area
http://dvd.sourceforge.net/spu_notes does not mention that high bits
are to be masked, and not clearing them makes a sample work, where
clearing them yielded left > right.
History does not shed any light, as tracing this code's origin shows
the same bitmasks being there in 2007 when it was imported.
https://bugzilla.gnome.org/show_bug.cgi?id=620119
Sebastian Dröge [Tue, 23 Aug 2011 07:52:20 +0000 (09:52 +0200)]
mpegtsbase: First try if upstream handles seeking in TIME format before seeking in the demuxer
Sebastian Dröge [Tue, 23 Aug 2011 07:40:16 +0000 (09:40 +0200)]
tsdemux: First send SEEKING queries upstream
Sebastian Dröge [Tue, 23 Aug 2011 07:27:23 +0000 (09:27 +0200)]
tsdemux: Send DURATION query upstream first
Sebastian Dröge [Tue, 23 Aug 2011 07:23:33 +0000 (09:23 +0200)]
hlsdemux: Use FALSE instead of 0 for a bool parameter
Youness Alaoui [Tue, 16 Aug 2011 19:53:31 +0000 (19:53 +0000)]
hlsdemux: switch pads when we seek (need_segment) since tsdemux doesn't cope well with a reset
Youness Alaoui [Tue, 23 Aug 2011 02:36:25 +0000 (02:36 +0000)]
hlsdemux: Add a FIXME comment. loop task should be a pad task
Youness Alaoui [Mon, 22 Aug 2011 23:41:39 +0000 (23:41 +0000)]
hlsdemux: Do not seek in a live stream
Youness Alaoui [Mon, 22 Aug 2011 23:41:31 +0000 (23:41 +0000)]
hlsdemux: Do not take the pad stream lock, use the task's lock instead
Youness Alaoui [Tue, 16 Aug 2011 19:46:49 +0000 (19:46 +0000)]
hlsdemux: Implement EVENT_SEEK
Youness Alaoui [Tue, 23 Aug 2011 01:54:26 +0000 (01:54 +0000)]
hlsdemux: Implement the GST_QUERY_SEEKING properly
Youness Alaoui [Tue, 23 Aug 2011 01:54:03 +0000 (01:54 +0000)]
hlsdemux: Implement correctly the GST_QUERY_DURATION
Youness Alaoui [Tue, 16 Aug 2011 19:41:08 +0000 (19:41 +0000)]
hlsdemux: Do not use GST_TASK_WAIT in the task function
The task function uses GST_TASK_WAIT which does a g_cond_wait giving it
the GST_OBJECT_GET_LOCK of the task. The mutex gets locked when
g_cond_wait returns, so if we don't lock/unlock it, it will
stay locked forever, preventing the task from ever finishing.
We shouldn't lock the task object lock, so let's remove the GST_TASK_WAIT
and make the task pause instead if there are no buffers in the queue.
Youness Alaoui [Thu, 18 Aug 2011 23:52:37 +0000 (23:52 +0000)]
tsdemux: do not send a new-segment on stream removal
When a program is changed, stream_added is called which sets the
need_newsegment to TRUE, then stream_removed is called, which calls
the flush_pending_data, which checks for the newsegment and causes
it to send a new-segment.
We must not send the newsegment when flushing the pending data on the
removed stream. We should only push it when flushing data on the newly
added streams (after they finish parsing their PTS header)
Youness Alaoui [Tue, 16 Aug 2011 22:05:14 +0000 (22:05 +0000)]
tsdemux: Fix newsegment when switching programs
If a program/stream is changed, then a newsegment is sent which must
not be the same as the base segment since it happens later. We must
shift the start position by the time elapsed since the newsegment
and the current PTS of the stream
Youness Alaoui [Tue, 16 Aug 2011 19:54:04 +0000 (19:54 +0000)]
tsdemux: interpolate gap and fix timestamps depending on upstream segment
Youness Alaoui [Thu, 18 Aug 2011 23:54:59 +0000 (23:54 +0000)]
hlsdemux: Keep a separate variable for the current variant used
By using a separate variable, first it allows us to sort the lists
of alternates but keep the pointer on the first occurence in the main
playlist (to respect the spec of starting with the bitrate specified
first in the main playlist). It also avoid playing with the lists variable
which should be used to store the list of playlists and not as a pointer
to the current one.
Also fixes a memleak with the g_list_foreach freeing the lists, if it wasn't
pointing to the first element of the list.
David Schleef [Mon, 22 Aug 2011 01:44:43 +0000 (18:44 -0700)]
decklink: fix compilation on Linux
David Schleef [Thu, 18 Aug 2011 21:29:53 +0000 (14:29 -0700)]
decklink: Add subdevice property
Joshua M. Doe [Thu, 7 Jul 2011 20:44:31 +0000 (16:44 -0400)]
decklink: add support for Windows
Builds with MSVC, not tested in MinGW or anything else. Added
COM handling code, borrowed from dshowvideosink. Moved Linux
specific files to ./linux and added Windows specific files to
./win (generated from IDL files in VS9). Added macros to handle
BSTR and defined bool as BOOL. Fixes #655362.
Signed-off-by: David Schleef <ds@schleef.org>
Joshua M. Doe [Thu, 7 Jul 2011 18:34:01 +0000 (14:34 -0400)]
decklink: improve frame handling
Send NEWSEGMENT on start. Send warning instead of error on
dropped frames.
Signed-off-by: David Schleef <ds@schleef.org>
Joshua M. Doe [Thu, 7 Jul 2011 18:20:37 +0000 (14:20 -0400)]
decklink: fix debugging in capture.cpp by making category extern
Signed-off-by: David Schleef <ds@schleef.org>
Joshua M. Doe [Thu, 7 Jul 2011 18:13:00 +0000 (14:13 -0400)]
decklink: use mutexes from glib instead of pthread
Signed-off-by: David Schleef <ds@schleef.org>
Tiago César Katcipis [Thu, 16 Jun 2011 20:19:49 +0000 (17:19 -0300)]
removesilence: new plugin
Fixes: #597822.
Signed-off-by: David Schleef <ds@schleef.org>
Thiago Santos [Sun, 21 Aug 2011 17:41:28 +0000 (14:41 -0300)]
camerabin2: Prevent audiosrc from sending undesired eos
Basesrc derived classes send an eos when they change state
from paused to ready and that breaks video recordings on camerabin2
as it makes the whole audio branch pads flushing.
Prevent it by using a pad probe that only allows the eos to pass
when it is caused by a stop-capture action.
Thiago Santos [Sun, 21 Aug 2011 17:07:37 +0000 (14:07 -0300)]
tests: camerabin2: Use audiotestsrc on tests
Use audiotestsrc on tests instead of using the system's default
audiosrc, avoiding any problems that a local audio setup might
have.
Thiago Santos [Thu, 18 Aug 2011 21:27:03 +0000 (18:27 -0300)]
camerabin2: Use gst_pad_send_event instead of eventfunc macro
Thiago Santos [Sun, 14 Aug 2011 07:41:58 +0000 (04:41 -0300)]
tests: camerabin2: Improving tests
Adding some additional checks for custom camerabin2 messages
Also improves reliability of the tests by waiting for the preview-buffer message.
This message is generated from the preview pipeline, and might arrive later than the
image/video-done from the main camerabin2 pipeline, the tests need to wait for it even
after getting the image/video-done.
Thiago Santos [Thu, 18 Aug 2011 18:12:56 +0000 (15:12 -0300)]
camerabin2: Avoid assertions when plugin creation fails
Capsfilters are created on the constructor and their properties can
be set/get from camerabin2's set/get_property functions. The user with
a broken setup would cause assertions when trying to set/get the
capture caps of this camerabin2.
A proper missing-plugin message will be posted when the user tries to
set camerabin2 to READY state.
Alessandro Decina [Fri, 19 Aug 2011 22:48:20 +0000 (00:48 +0200)]
tsmux: remove unnecessary check
remove an if (best) check where best != NULL has already been checked
Youness Alaoui [Tue, 16 Aug 2011 19:51:34 +0000 (19:51 +0000)]
tsbase: reinitiate segment at flush-stop event only
Youness Alaoui [Tue, 16 Aug 2011 19:43:08 +0000 (19:43 +0000)]
hlsdemux: Set buffer timestamp since we send a TIME segment
Youness Alaoui [Tue, 2 Aug 2011 19:21:47 +0000 (19:21 +0000)]
hlsdemux: Allow bandwidth switching during caching of fragments
Youness Alaoui [Tue, 2 Aug 2011 19:21:18 +0000 (19:21 +0000)]
hlsdemux: set the pad's caps before adding it
Vincent Penquerc'h [Wed, 17 Aug 2011 10:02:12 +0000 (11:02 +0100)]
ofa: fingerprint creation can fail
There does not seem to be a way to retrieve information
about why failure occured, unfortunately.
When failure occurs, do not post a NULL fingerprint tag.
https://bugzilla.gnome.org/show_bug.cgi?id=656641
Vincent Penquerc'h [Wed, 17 Aug 2011 09:55:59 +0000 (10:55 +0100)]
ofa: cleanup
Avoid repeating casting to GstAudioFilter when one will do
Use object related logging to make it easier to get just the logs we want
https://bugzilla.gnome.org/show_bug.cgi?id=656641
Vincent Penquerc'h [Wed, 17 Aug 2011 10:07:54 +0000 (11:07 +0100)]
ofa: do not create fingerprint on EOS if record is FALSE
https://bugzilla.gnome.org/show_bug.cgi?id=656641
Sebastian Dröge [Thu, 18 Aug 2011 08:39:26 +0000 (10:39 +0200)]
vp8enc: Remove unused and useless variable in tags handling
Sebastian Dröge [Thu, 18 Aug 2011 08:02:50 +0000 (08:02 +0000)]
basevideo: Fix locking, especially if both pads have different streaming threads
Sebastian Dröge [Thu, 18 Aug 2011 07:42:02 +0000 (07:42 +0000)]
basevideo: Don't call g_type_class_peek_parent() in class_init
This is already done by the GObject boilerplate macro
Vincent Penquerc'h [Tue, 16 Aug 2011 09:24:37 +0000 (10:24 +0100)]
aiffmux: drop data after 4ish GB and moan
https://bugzilla.gnome.org/show_bug.cgi?id=654278
Vincent Penquerc'h [Tue, 16 Aug 2011 09:02:59 +0000 (10:02 +0100)]
aiffmux: use guint32 for guint32 parameters
This makes explicit that the range is limited.
https://bugzilla.gnome.org/show_bug.cgi?id=654278
Vincent Penquerc'h [Tue, 16 Aug 2011 09:02:11 +0000 (10:02 +0100)]
aiffmux: avoid integer overflow
These values are 32 bits, and width is a multiple of 8.
https://bugzilla.gnome.org/show_bug.cgi?id=654278
Vincent Penquerc'h [Tue, 16 Aug 2011 18:39:40 +0000 (19:39 +0100)]
celtdec: make this compile with git libcelt
celt_mode_info was removed, in favor of a _ctl.
https://bugzilla.gnome.org/show_bug.cgi?id=656686
Vincent Penquerc'h [Tue, 16 Aug 2011 17:34:59 +0000 (18:34 +0100)]
ofa: don't crash when there's no data to create a fingerprint from
Fixes a crash when no data flowed through.
https://bugzilla.gnome.org/show_bug.cgi?id=656641
George Kiagiadakis [Tue, 16 Aug 2011 16:47:02 +0000 (19:47 +0300)]
mpeg4videoparse: Use gst_bit_reader_skip to skip more than 32 bits.
GET_BITS is a macro for gst_bit_reader_get_bits_uint32, which cannot
read more than 32 bits and will fail in this case where it is called
to read 79 bits. Since we want to skip those bits, gst_bit_reader_skip
is more appropriate in this case.
Alessandro Decina [Mon, 15 Aug 2011 00:08:14 +0000 (02:08 +0200)]
qtkitvideosrc: get the framerate from caps
...and configure QTKit accordingly. Hardcoding to 30fps was pretty -bad.
Thiago Santos [Sat, 13 Aug 2011 18:55:01 +0000 (15:55 -0300)]
tests: camerabin2: Add test for audio-filter property
Checks that the audio-filter is properly plugged in the pipeline
and receives buffers when recording a video.
Thiago Santos [Thu, 11 Aug 2011 21:59:07 +0000 (18:59 -0300)]
camerabin2: Add audio-filter property
Adds a property to add a custom GstElement to the audio
branch of the pipeline. This allows the user to do custom audio
processing/analysis when recording videos.
Stefan Kost [Fri, 12 Aug 2011 20:39:53 +0000 (22:39 +0200)]
basevisualizer: add more shader variants and simplify code
Use macros to simplyfy the shading code. Those will ease to add support for
other colorspaces in the future. Add more variants for the shading (left,right,
horiz-in, vert-out, vert-in).
Stefan Kost [Fri, 12 Aug 2011 19:22:20 +0000 (21:22 +0200)]
basevisualizer: more docs
Stefan Kost [Fri, 12 Aug 2011 19:18:44 +0000 (21:18 +0200)]
baseaudiovisualizer: protect config with a lock
Before it was easy to crash the elements when using a ximagesink and triggering
renegotiation by resizing.
Stefan Kost [Fri, 12 Aug 2011 14:57:49 +0000 (16:57 +0200)]
spectrascope: make a copy of the audiodata before downmixing and windowing
The buffers come from the adapter and the data might overlap. We don't want to
modify it in place.
Sebastian Dröge [Fri, 12 Aug 2011 10:25:03 +0000 (12:25 +0200)]
basevideoencoder: Proxy the width/height/framerate/PAR constraints of downstream caps to upstream
This allows to specify constraints on the compressed downstream caps
by muxers or capsfilters, which will then be forwarded to upstream
and allows video converters to fulfill the constraints.
Code based on Mark Nauwelaerts audio encoder base class.
Sebastian Dröge [Fri, 12 Aug 2011 10:13:45 +0000 (12:13 +0200)]
basevideoencoder: Remove old ::getcaps() comment
Sebastian Dröge [Fri, 12 Aug 2011 10:08:32 +0000 (12:08 +0200)]
diracenc: Update for basevideoencoder ::get_caps() removal
Sebastian Dröge [Fri, 12 Aug 2011 10:08:20 +0000 (12:08 +0200)]
schroenc: Update for basevideoencoder ::get_caps() removal
Sebastian Dröge [Fri, 12 Aug 2011 10:08:08 +0000 (12:08 +0200)]
vp8enc: Update for basevideoencoder ::get_caps() removal
Sebastian Dröge [Fri, 12 Aug 2011 10:06:23 +0000 (12:06 +0200)]
basevideoencoder: Remove ::get_caps() vfunc
Subclasses can set the caps more efficiently and this only
caused additional indirections.
Vincent Penquerc'h [Tue, 9 Aug 2011 08:29:21 +0000 (09:29 +0100)]
mxf: do not assert on the values of data read from input
Instead, log a warning, and return.
https://bugzilla.gnome.org/show_bug.cgi?id=563827
Sebastian Dröge [Wed, 3 Aug 2011 14:02:01 +0000 (16:02 +0200)]
basevideodecoder: Use the cached video frame size instead of recalculating it
Sjoerd Simons [Mon, 8 Aug 2011 15:53:16 +0000 (17:53 +0200)]
schroedinger: Fix set but unused variables
Remove some dead code that triggers "set but unused variables"
from Gcc 4.6. Fixes #656166
Signed-off-by: David Schleef <ds@schleef.org>
Sjoerd Simons [Mon, 8 Aug 2011 14:44:20 +0000 (16:44 +0200)]
dirac: Fix set but unused variables
Remove some dead code that triggers "set but unused variables" from Gcc
4.6. Fixes #656164.
Signed-off-by: David Schleef <ds@schleef.org>
Thiago Santos [Sat, 6 Aug 2011 15:13:22 +0000 (12:13 -0300)]
camerabin2: Adding video-done message
video-done message will be posted when a video recording is
finished. Similar to image-done message.
Thiago Santos [Fri, 5 Aug 2011 18:48:53 +0000 (15:48 -0300)]
camerabin2: Adding top-level element documentation
Thiago Santos [Fri, 5 Aug 2011 16:34:08 +0000 (13:34 -0300)]
camerabin2: Fixing typo
Stefan Sauer [Thu, 4 Aug 2011 11:33:20 +0000 (13:33 +0200)]
motioncells: turn two global vars into static variables
Move 2 variable to motioncells_warpper and make them static.
Edward Hervey [Thu, 4 Aug 2011 11:33:56 +0000 (13:33 +0200)]
examples: Add missing header file
Edward Hervey [Thu, 4 Aug 2011 09:28:30 +0000 (11:28 +0200)]
decklink: Add gstdecklink.h to list of headers
Alessandro Decina [Thu, 4 Aug 2011 07:49:46 +0000 (09:49 +0200)]
mpegvideoparse: fix sequence header parsing
After bitrate there's 11 bits (1 marker bit + VBV buffer size) before the load
intra quantiser flag.
Tommi Myöhänen [Thu, 21 Jul 2011 05:58:27 +0000 (08:58 +0300)]
photography: add missing FLICKER_REDUCTION capability
GstPhotography API contains functions to get/set flicker reduction
mode, but GstPhotoCaps enumeration doesn't have item for it, so elements
are not able to report whether they support this feature or not.
Also add useful GST_PHOTOGRAPHY_CAPS_ALL for easily selecting all
capabilities at once.
https://bugzilla.gnome.org/show_bug.cgi?id=655318
David Schleef [Wed, 3 Aug 2011 20:37:28 +0000 (13:37 -0700)]
subenc: Add webvttenc element
David Schleef [Wed, 3 Aug 2011 20:35:41 +0000 (13:35 -0700)]
kateenc: Fix uninitialized error
David Schleef [Sun, 10 Jul 2011 06:22:26 +0000 (23:22 -0700)]
schroenc: remove shape_output handling
David Schleef [Sun, 10 Jul 2011 06:07:39 +0000 (23:07 -0700)]
diracenc: Remove unused shape_output code
David Schleef [Sun, 10 Jul 2011 01:53:24 +0000 (18:53 -0700)]
vp8enc: Add more properties
Alexey Fisher [Sun, 19 Jun 2011 14:06:46 +0000 (16:06 +0200)]
vp8enc: add min/maxsection-pct option
This options should be good to redeuce decode CPU load.
for lowend hardware:
minsection-pct=15 maxsection-pct=400
for hiend hw:
minsection-pct=5 maxsection-pct=800
see example:
http://www.webmproject.org/tools/encoder-parameters/#2-pass_vbr_encoding_for_smooth_playback_on_low-end_hardware
Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: David Schleef <ds@schleef.org>
Alexey Fisher [Sun, 19 Jun 2011 09:05:36 +0000 (11:05 +0200)]
vp8enc: add lag-in-frames option.
This option set maximum of frames codec should remember,
to make better prediktion for alt-ref frames.
See example:
http://www.webmproject.org/tools/encoder-parameters/#2-pass_best_quality_vbr_encoding
Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: David Schleef <ds@schleef.org>
Alexey Fisher [Sun, 19 Jun 2011 05:16:57 +0000 (07:16 +0200)]
vp8enc: use multipass.cache file name as default for multipass mode.
Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: David Schleef <ds@schleef.org>
Mukul Majmudar [Sat, 9 Jul 2011 20:05:07 +0000 (16:05 -0400)]
faac: Add properties for VBR encoding
Property "quality" to specify VBR quantizer quality and property
"brtype" to choose between ABR and VBR encoding. The default is now VBR
with quality=100.
Fixes bug #654310.
Signed-off-by: David Schleef <ds@schleef.org>
David Schleef [Thu, 7 Jul 2011 23:07:50 +0000 (16:07 -0700)]
decklink: Add audio-input property
Tim 'mithro' Ansell [Mon, 18 Jul 2011 05:25:05 +0000 (15:25 +1000)]
inter: Adding missing base requirements.
Fixes: #654806.
Thiago Santos [Wed, 3 Aug 2011 18:21:17 +0000 (15:21 -0300)]
camerabin2: add more missing plugin checks
Sprinkle some more missing plugin checks around
Thiago Santos [Wed, 3 Aug 2011 16:12:18 +0000 (13:12 -0300)]
camerabin2: Add a missing element check and remove TODO
Add missing element checks for elements created at _init
functions and remove TODO about it
Thiago Santos [Wed, 3 Aug 2011 16:57:09 +0000 (13:57 -0300)]
camerabin2: Remove redundant image-queue
Encodebin is used for image encoding and it already contains
a queue, so we can remove camerabin2 image queue.
Tim-Philipp Müller [Wed, 3 Aug 2011 12:42:20 +0000 (13:42 +0100)]
dvbsuboverlay: fix up copyrights
Robert Swain [Wed, 29 Jun 2011 13:14:29 +0000 (15:14 +0200)]
gst-camerabin2-test: Add audio capture caps option
Sebastian Dröge [Tue, 2 Aug 2011 13:14:24 +0000 (15:14 +0200)]
basevideoencoder: Make access to the list of frames threadsafe
Tim-Philipp Müller [Tue, 2 Aug 2011 22:53:08 +0000 (23:53 +0100)]
bayer: back around compiler warnings in orc-generated code by disabling -Werror for this plugin
https://bugzilla.gnome.org/show_bug.cgi?id=652677
Tim-Philipp Müller [Tue, 2 Aug 2011 21:57:15 +0000 (22:57 +0100)]
Fix some more variable-set-but-not-used compiler warnings
Robert Jobbagy [Tue, 2 Aug 2011 19:14:06 +0000 (21:14 +0200)]
camerabin2: examples: Fix camerabin2 G_OBJECT cast
Adds missing cast to fix build error.
Thiago Santos [Tue, 2 Aug 2011 13:49:09 +0000 (10:49 -0300)]
camerabin2: Workaround for ringbuffer not resyncing on READY
Add a workaround to fix timestamps meanwhile bug
https://bugzilla.gnome.org/show_bug.cgi?id=648359 is fixed.
Raluca Elena Podiuc [Sat, 30 Jul 2011 13:12:31 +0000 (16:12 +0300)]
camerabin2 remove redundant viewfinder-colorspace and viewfinder-scale
camrabin2 connects a viewfinderbin on "vfsrc". viewfinderbin is made of:
vfbin-csp ! vfbin-videoscale ! videosink.
we should either remove csp/videoscale from wrappercamerabinsrc (as
done in this patch) or we should get rid of viewfinderbin altogether.
Raluca Elena Podiuc [Tue, 26 Jul 2011 03:04:41 +0000 (06:04 +0300)]
basecamerasrc: remove unused get_allowed_input_caps
The use of this method was removed in:
commit
539f10f4d99e1a074881289254d1d109159cf9e5
basecamerasrc: More cleanup
The code from wrappercamerabinsrc is from v4l2camerasrc but is unused:
get_allowed_input_caps is not called anywhere.
Raluca Elena Podiuc [Tue, 26 Jul 2011 02:59:09 +0000 (05:59 +0300)]
basecamerasrc: don't use class offsets for start/stop-capture signal handlers
Raluca Elena Podiuc [Tue, 26 Jul 2011 02:43:34 +0000 (05:43 +0300)]
basecamerasrc: document why we set preview to PLAYING
Raluca Elena Podiuc [Tue, 26 Jul 2011 01:42:49 +0000 (04:42 +0300)]
basecamerasrc: document callbacks
Note for each callback:
- when it is called,
- whether it is mandatory or optional.
Raluca Elena Podiuc [Tue, 26 Jul 2011 00:04:47 +0000 (03:04 +0300)]
basecamerabinsrc: preview: remove unused new_preroll callback
Teemu Katajisto [Thu, 28 Jul 2011 16:18:57 +0000 (13:18 -0300)]
camerabin2: Synchronize clock and base time to audiosrc
When audio source goes to READY it loses its clock and base time,
this patch sets them back after bringing the audio source back to PAUSED.
Robert Swain [Thu, 28 Jul 2011 15:56:12 +0000 (12:56 -0300)]
camerabin2: Prevent audio source from providing clock
The audio source inside camerabin2 is put to READY and back to
PLAYING when starting capture, causing the pipeline to lose its
clock. As camerabin2 isn't put to PAUSED->PLAYING again during
this, a new clock isn't selected for elements.