Stéphane Cerveau
d41e8c68bf
theora: allow per feature registration
...
Split plugin into features including
dynamic types which can be indiviually
registered during a static build.
More details here:
https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1029 >
2021-03-16 17:58:59 +00:00
Zebediah Figura
e999318fd7
theoradec: Set telemetry options only if they are nonzero
...
Setting telemetry options, even to zero, causes libtheora to enable an expensive code path. For large enough videos (e.g. 1920x1080) this can increase the time to decode each frame by 30-40 ms, which can be enough to cause noticeable stutter.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/887 >
2020-10-22 08:05:20 +00:00
Mathieu Duponchelle
e0fadd6fdd
docstrings: port ulinks to markdown links
2019-08-23 18:28:16 +02:00
Edward Hervey
d36a22553b
theoradec: Check for valid width/height
...
If width or height are zero ... there's no video :)
2018-01-17 14:35:51 +01:00
Edward Hervey
c7917df7e2
theoradec: Handle negotiation failure
...
Avoids a trove of random issues afterwards (due to decoder not
*actually* being initialized/negotiated).
2017-11-11 07:47:52 +01:00
Thibault Saunier
099ac9faf2
docs: Convert gtkdoc comments to markdown
...
Modernizing the documentation, making it simpler to read an
modify and allowing us to possibly switch to hotdoc in the
future.
2017-03-10 18:19:17 -03:00
Jan Schmidt
924c44f369
theoradec: Make the keyframe condition check clearer
...
Make the keyframe checking if statement easier to
read, and add some debug when detecting a keyframe
2017-03-04 00:30:37 +11:00
Vineeth TM
44b70ca3a1
base: use new gst_element_class_add_static_pad_template()
...
https://bugzilla.gnome.org/show_bug.cgi?id=763075
2016-03-24 14:25:41 +02:00
Tim-Philipp Müller
aade5515ac
theora: fix performance category initialisation
...
Remove unused _register() functions and look up the performance
debug category in a function that's actually called at some point.
2016-03-09 09:56:52 +00:00
Tim-Philipp Müller
a62c7bd54c
Fix use of undeclared core debug category symbols
...
libgstreamer currently exports some debug category
symbols GST_CAT_*, but those are not declared in any
public headers.
Some plugins and libgstvideo just use GST_DEBUG_CATEGORY_EXTERN()
to declare and use those, but that's just not right at
all, and it won't work on Windows with MSVC. Instead look
up the categories via the API.
2016-02-20 11:31:43 +00:00
Thiago Santos
0ea4430522
theoradec: use default pad accept-caps handling
...
Avoids useless check of downstream caps when handling an
accept-caps query
2015-08-15 13:44:35 -03:00
Tim-Philipp Müller
ec5c93f169
docs: update element example pipelines
...
- gst-launch -> gst-launch-1.0
- use autoaudiosink and audiovideosink more often
- review pipeline examples and descriptions
2015-05-10 11:38:19 +01:00
Nicolas Dufresne
6ba8d385e3
Revert "theoradec: Disable usage of crop meta"
...
This reverts commit da52868f46
.
2015-03-24 15:47:20 -04:00
Nicolas Dufresne
da52868f46
theoradec: Disable usage of crop meta
...
This is a temporary workaround that simply disables usage of crop
meta for now.
https://bugzilla.gnome.org/show_bug.cgi?id=741030
2015-03-24 14:36:12 -04:00
Jan Schmidt
9a541157cf
theoradec: Fix decoding in the presence of GstVideoCropMeta
...
Store the video info of the internal frame decode width/height
separate to the exposed (cropped) frame info, so that it can be
used for mapping the downstream allocated video frame buffer correctly
when using GstVideoCropMeta.
Fixes playback of files with sizes that aren't a multiple of 16-pixels
width or height.
https://bugzilla.gnome.org/show_bug.cgi?id=741030
2015-03-12 22:38:37 +11:00
Jan Schmidt
f852f3bc75
theora: If no header packets in stream, look for them in the caps
...
Makes theora work in cases where the header packets are only in the caps
(because theoradec was connected to oggdemux late and missed the
beginning of the stream)
2015-02-06 04:05:27 +11:00
Jan Schmidt
615118dea8
theora: Remove FIXME and return GST_CUSTOM_FLOW_DROP for header packet handling
...
This FIXME is easily fixed :)
2015-02-06 04:05:27 +11:00
Tim-Philipp Müller
bcb8068e27
docs: remove outdated and pointless 'Last reviewed' lines from docs
...
They are very confusing for people, and more often than not
also just not very accurate. Seeing 'last reviewed: 2005' in
your docs is not very confidence-inspiring. Let's just remove
those comments.
2014-04-26 23:28:57 +01:00
Sebastian Dröge
4a37d90e9d
theoradec: Use new gst_video_decoder_set_needs_format() API
2013-12-05 11:39:07 +01:00
Sebastian Dröge
5bd27953b4
theora: Use new video codec base classes' flush vfunc
2013-08-15 13:26:39 +02:00
Sebastian Dröge
775aa4100b
theoradec: Clean up handling of reset/flushing/start/stop
2013-07-25 13:29:22 +02:00
Sebastian Dröge
e39fa41d74
theoradec: Require caps to be set before data flow happens
2013-05-27 13:04:25 +02:00
Sebastian Dröge
4f52ad38e4
theoradec: Set DECODE_ONLY flag on all header packets
2013-05-09 10:40:19 +02:00
Wim Taymans
f15bc6835b
theoradec: handle empty adapter
...
Should not be empty but might be when we actually pass and decode the 0 packets
later.
2013-03-31 18:31:36 +02:00
Tim-Philipp Müller
5f59b4f7ee
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 23:05:09 +00:00
Tim-Philipp Müller
224fb90469
theora, app: use gst_element_class_set_static_metadata()
...
Avoids string copies.
2012-10-17 16:54:14 +01:00
Mark Nauwelaerts
f7c247b6a3
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
2012-09-14 17:02:59 +02:00
Mark Nauwelaerts
b80f5e53c4
theoradec: reset freed input and output states
...
Conflicts:
ext/theora/gsttheoradec.c
2012-08-28 14:31:06 +02:00
Sebastian Dröge
5989d75e10
theoradec: Use new video decoder tag API
2012-08-09 16:09:46 +02:00
Olivier Crête
e24196ae28
theoradec: Drop ignored headers
...
Instead of finishing an empty frame, call drop_frame as we're
ignoring the header frame.
2012-08-07 13:58:58 -07:00
Sebastian Dröge
99d73c94e9
tag: Update for taglist/tag event API changes
2012-07-28 00:35:02 +02:00
Sebastian Dröge
aa21a162d7
theora: Update for video base classes API changes
2012-07-23 10:19:16 +02:00
Edward Hervey
0cc8445cfa
theoradec: Call video_decoder_negotiate() once configured
2012-07-18 18:17:57 +02:00
Wim Taymans
177fd005ab
update for query api changes
2012-07-06 11:23:48 +02:00
Jan Schmidt
30c9bb709b
theoradec: Remove use of NEED_DATA
...
Remove the confusing internal-only use of
the GST_VIDEO_DECODER_FLOW_NEED_DATA return code.
2012-06-17 12:42:08 +10:00
Jan Schmidt
2fbb803d85
theoradec: Always inform base class when dropping frames
...
Partially fixes backwards playback. Informing the base class
of the dropped frame lets it manage the timestamping and events
better.
2012-06-13 03:17:27 +10:00
Vincent Penquerc'h
03ef88d7da
theoradec: fix frame leaks
2012-06-07 13:36:35 +01:00
Vincent Penquerc'h
d4b8778299
theoradec: fix video state leaks
2012-06-07 11:23:23 +01:00
Wim Taymans
a2172bdb4b
update for tag event change
2012-06-06 13:05:47 +02:00
Sreerenj Balachandran
663abda778
theoradec: remove usless checking of return val.
...
fixes https://bugzilla.gnome.org/show_bug.cgi?id=676525
2012-05-24 11:12:26 +02:00
Sreerenj Balachandran
d9ec99e598
theoradec: remove the nonuse parameter from handle_type_packet() method
2012-05-23 10:16:25 +02:00
Sreerenj Balachandran
8054c66194
theoradec: stream is marking as non-packeized so that the data gets parsed and keyframes marked
2012-05-23 10:16:25 +02:00
Sebastian Dröge
7ff23514ee
theoradec: Correctly handle crop metadata and update for videodecoder API changes
2012-05-01 13:33:20 +02:00
Sebastian Dröge
0c2f43750d
theoradec: Unref state when we're done with it
2012-04-25 14:34:43 +02:00
Sebastian Dröge
71fc0a7f3e
theoradec: Update for video decoder API changes
...
And also improve the buffer pool handling.
2012-04-25 13:19:11 +02:00
Sebastian Dröge
894875d705
theoradec: Use crop metadata if possible and refactor cropping code a bit
2012-04-24 22:35:58 +02:00
Sebastian Dröge
8571293311
theoradec: Set some more information on the output caps
2012-04-24 22:05:53 +02:00
Sebastian Dröge
e120979f17
theora: Port to 0.11 again with the new base classes
2012-04-24 21:32:28 +02:00
Mark Nauwelaerts
7bfd1bc3d7
theora: Port to base video classes
...
FIXME : Don't forget to backport changes that happened to theoraenc
since April 2011
theoraenc: Don't create keyframe on time gap
There is no rational to do so, and also gst_video_encoder_set_discont() is
gone from base class.
2012-04-24 17:03:40 +02:00
Piotr Fusik
14644457b0
various: typo fixes
...
Fix typos in code and docs. Fixes. #658984
2011-12-02 12:03:27 +01:00