summaryrefslogtreecommitdiff
path: root/gst/vaapi/gstvaapidecode.h
AgeCommit message (Collapse)AuthorFilesLines
2013-02-05legal: fix year for some copyright notices (2012).Gwenole Beauchesne1-1/+1
2012-12-17vaapidecode: adopt non-deprecrated glib locking primitive pattern.Rob Bradford1-2/+2
The use of heap allocated GMutex/GCond is deprecated. Instead place them inside the structure they are locking. These changes switch to use g_mutex_init/g_cond_init rather than the heap allocation functions. Because we cannot test for a NULL pointer for the GMutex/GCond we must initialise inside the GObject _init function and clear inside the _finalize which is guaranteed to only be called once and after the object is no longer in use.
2012-09-11vaapidecode: improve "no free surface" conditions.Gwenole Beauchesne1-0/+2
Previously, vaapidecode would wait up to one second until a free surface is available, or it aborts decoding. Now, vaapidecode waits until the last decoded surface was to be presented, plus one second. Besides, end times are now expressed relative to the monotonic clock.
2012-07-19Drop FFmpeg-based decoders.Gwenole Beauchesne1-1/+0
GStreamer codecparsers-based decoders are the only supported decoders now. Though, FFmpeg decoders are still available in gstreamer-vaapi 0.3.x series.
2012-07-19plugins: declare _get_type() functions as const.Javier Jardón1-1/+1
Declaring a function as const enables better optimization of calls to the function. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-03-22decode: delay NEWSEGMENT event if vaapidecode element was not linked.Wind Yuan1-0/+1
Rationale: playbin2 links all elements at run-time. Once vaapidecode is created and a NEWSEGMENT event arrives, downstream element may not be ready yet. So, delay this event until next element is chained in, otherwise basesink could output "Received buffer without a new-segment. Assuming timestamps start from 0". Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-01-16legal: fix copyright notices to include "Copyright" term.Gwenole Beauchesne1-1/+1
2011-12-08vaapidecode: return sink caps template if decoder is in NULL state.Sreerenj Balachandran1-0/+1
Otherwise, the decoder would always create its own X display instead of probing it from the downstream element, which is not reliable. e.g. DISPLAY is not :0 or when running on Wayland. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2011-12-07Group all plugins into the same bundleNicolas Dufresne1-0/+87
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>