Vineeth TM
7ef9dd3761
jpegdec: fix output state memory leak
...
When jpeg_finish_decompress is called, output state reference is being created.
But if there is any failures in finishing decompress, it jumps to setjmp,
and at that point state was not referenced. Resulting in leak of output state.
Hence adding another setjmp after output state is referenced.
Similarly adding another setjmp to unmap the frame in case error happens before
finish_decompress
https://bugzilla.gnome.org/show_bug.cgi?id=753087
2015-11-10 07:54:08 -03:00
Thiago Santos
16fbd4f86f
videodecoders: use default pad accept-caps handling
...
Avoids useless check of downstream caps when handling an
accept-caps query
Elements: jpegdec, pngdec, vp8dec, vp9dec
2015-08-15 11:46:32 -03:00
Guillaume Desmottes
1421fc558e
jpegdec: fix frame leaks in handle_frame() implementation
...
handle_frame() is supposed to consume @frame, so if we don't call
gst_video_decoder_drop_frame() or gst_video_decoder_finish_frame() we have to
release it manually.
https://bugzilla.gnome.org/show_bug.cgi?id=748909
2015-05-05 13:56:05 -04:00
Tim-Philipp Müller
3956f5addc
Sprinkle some G_PARAM_DEPRECATED and #ifndef GST_REMOVE_DEPRECATED
2014-11-02 16:58:30 +00:00
Sebastian Dröge
90ccd8212a
jpegdec: Remove unused variable and use correct decoder variable name
2014-09-16 11:26:22 +03:00
Vineeth T M
448b1ac2b1
jpeggdec: modify wrong packetized mode logic
...
packetized mode is being set when framerate is being set
which is not correct. Changing the same by checking the
input segement format. If input segment is in TIME it is
Packetized, and if it is in BYTES it is not.
https://bugzilla.gnome.org/show_bug.cgi?id=736252
2014-09-16 11:25:31 +03:00
Sebastian Dröge
94bfdc7a56
jpegdec: All frames are sync points
2014-03-26 08:03:46 +01:00
Thiago Santos
04bd422432
jpegdec: mark all parsed frames as sync points
...
all jpeg frames are sync points, so mark them as such so
reverse playback can properly work with the video decoder
base class
https://bugzilla.gnome.org/show_bug.cgi?id=725104
2014-02-27 19:08:15 -03:00
Thiago Santos
6bb6a5cdf4
jpegdec: deprecate max-errors
...
The property wasn't use internally, let the base class handle the
number of errors to tolerate.
2013-11-25 11:58:58 -03:00
Thiago Santos
be2f2f196a
jpegdec: let the base class decide when to return an error
...
The base videodecoder class has an error counting feature to tolerate
a few errors before posting an error message. So don't force the
error and let the base class decide when it should happen
https://bugzilla.gnome.org/show_bug.cgi?id=710762
2013-11-25 11:03:34 -03:00
Thiago Santos
673b8ca1c1
jpegdec: Add data skipping on input
...
Add missing bytes skipping when bad input is received.
https://bugzilla.gnome.org/show_bug.cgi?id=710762
2013-11-25 11:03:26 -03:00
Tim-Philipp Müller
d506409af5
docs: get rid of 'Since: 0.10.x' markers
...
And some gtk-doc markup fixes.
2013-11-18 14:47:35 +00:00
Matthieu Bouron
e5c443594f
jpegdec: Relax sink caps
...
Since jpegdec already parse the jpeg stream, the sink caps could be
relaxed. This will allow jpegdec to be selected in more case and in
particular when the jpeg typefinder does not find the width and height.
https://bugzilla.gnome.org/show_bug.cgi?id=709352
2013-10-04 10:33:13 +02:00
Sebastian Dröge
b1e442236f
ext: Use new flush vfunc of video codec base classes and remove reset implementations
2013-08-15 15:08:05 +02:00
Sebastian Dröge
4944183061
jpegdec: Use base class error handling function instead of replicating it here
2013-07-25 14:26:37 +02:00
Sebastian Dröge
6f39f5d49f
jpegdec: Clean up handling of reset/start/stop
2013-07-25 14:26:37 +02:00
Thiago Santos
a8460654d5
jpegdec: fix compiler warning on type check
2013-05-07 19:29:17 -03:00
Sebastian Dröge
8ca4a47cdc
jpegdec: By default assume that we're working on non-packetized input
...
Only detecting this in set_format() does not work because we might
not get any caps at all, e.g. from filesrc.
2013-05-07 16:32:03 +02:00
Tim-Philipp Müller
24cdefcb75
jpegdec: remove sof-marker from template caps for now
...
Now that the subset check actually works, this breaks
things with demuxers that don't put a "sof-marker"
in their jpeg caps, and we don't have a good parser
to plug either yet.
2013-02-14 14:15:34 +00:00
Tim-Philipp Müller
230cf41cc9
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:07:18 +00:00
Tim-Philipp Müller
9dcdc413a7
jpeg, png, vpx: use gst_element_class_set_static_metadata()
...
Avoids some string copies.
2012-10-17 17:03:39 +01:00
Mark Nauwelaerts
a32398fee5
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
2012-09-14 17:07:40 +02:00
Tim-Philipp Müller
4bb52bbadf
docs: gst-launch -> gst-launch-1.0 and ffmpegcolorspace -> videoconvert
2012-08-27 21:20:30 +01:00
Tim-Philipp Müller
4de8bd004c
No code with side-effects inside g_assert() please
2012-08-08 11:07:55 +01:00
Tim-Philipp Müller
942d745cf1
jpegdec: fix up example pipeline some more
...
No more ffmpegcolorspace
2012-07-24 12:10:46 +01:00
Sreerenj Balachandran
1057c02c73
jpegdec: Fix the example gst-launch pipeline.
2012-07-24 12:59:14 +02:00
Sebastian Dröge
6e673d4796
ext: Update for video base classes API changes
2012-07-23 10:32:36 +02:00
Edward Hervey
fa5697ec08
jpeg/png: Call video_decoder_negotiate()
2012-07-18 18:27:40 +02:00
Wim Taymans
8eadb9c12c
update for query api changes
2012-07-06 11:26:46 +02:00
Vincent Penquerc'h
1dad35eeff
jpegdec: fix video state leak
2012-06-07 11:24:45 +01:00
Wim Taymans
23520e4127
jpegdec: set colorimetry on output info
2012-06-04 16:18:05 +02:00
Mathias Hasselmann
e143c43ef5
jpegdec: remove framerate
...
The jpeg decoder doesn't need/care about the framerate to so it should
not be in the caps.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676302
2012-05-24 16:13:05 +02:00
Edward Hervey
f96d18e959
jpeg: Remove dead code
...
Conflicts:
ext/jpeg/gstjpegdec.c
2012-05-18 11:16:05 +02:00
Sebastian Dröge
c11e680a10
jpegdec: Fix compilation
2012-05-18 11:05:35 +02:00
Edward Hervey
9c4e195e79
jpegdec: When dropping frames on EOS, flush out data
...
Cleaner way of handling stray data
2012-05-18 11:05:17 +02:00
Edward Hervey
d243fb9178
jpegdec: Remove unused variable
...
Conflicts:
ext/jpeg/gstjpegdec.c
2012-05-18 11:05:02 +02:00
Edward Hervey
d811797186
jpegdec: Only parse for SOI when we didn't see it before
2012-05-18 11:04:39 +02:00
Edward Hervey
c6c4906770
jpegdec: Remember if we saw SOI and handle stray data on EOS
2012-05-18 11:04:32 +02:00
Sebastian Dröge
62580b14f6
jpeg: Port to 0.11 again
2012-05-14 14:39:34 +02:00
Edward Hervey
8e9eb77816
jpeg: Port jpegdec/jpegenc to base video classes
...
Conflicts:
ext/jpeg/gstjpegdec.c
ext/jpeg/gstjpegdec.h
ext/jpeg/gstjpegenc.c
ext/jpeg/gstjpegenc.h
Reverted to 0.10 versions for now, next port again.
2012-05-14 13:01:48 +02:00
Tim-Philipp Müller
e09ae5736d
Use new gst_element_class_set_static_metadata()
2012-04-10 00:51:41 +01:00
Wim Taymans
ced47580b7
update for bufferpool changes
2012-03-15 22:11:17 +01:00
Wim Taymans
f3a770a20c
update for allocation query changes
2012-03-15 20:37:56 +01:00
Wim Taymans
751fcf035b
take padding into account
2012-03-14 19:56:56 +01:00
Wim Taymans
075cd54019
fix for caps _normalize changes
2012-03-12 12:23:15 +01:00
Wim Taymans
a32d944a38
fix for caps api changes
2012-03-11 19:06:37 +01:00
Wim Taymans
756948262c
fix template caps refcount
2012-03-10 10:52:01 +01:00
Wim Taymans
9365f12d6e
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
2012-02-08 16:43:30 +01:00
Sebastian Dröge
93e3ed5a86
Merge branch 'master' into 0.11
...
Conflicts:
ext/cairo/gsttextoverlay.c
ext/pulse/pulseaudiosink.c
gst/audioparsers/gstaacparse.c
gst/avi/gstavimux.c
gst/flv/gstflvmux.c
gst/interleave/interleave.c
gst/isomp4/gstqtmux.c
gst/matroska/matroska-demux.c
gst/matroska/matroska-mux.c
gst/matroska/matroska-mux.h
gst/matroska/matroska-read-common.c
gst/multifile/gstmultifilesink.c
gst/multipart/multipartmux.c
gst/shapewipe/gstshapewipe.c
gst/smpte/gstsmpte.c
gst/udp/gstmultiudpsink.c
gst/videobox/gstvideobox.c
gst/videocrop/gstaspectratiocrop.c
gst/videomixer/videomixer.c
gst/videomixer/videomixer2.c
gst/wavparse/gstwavparse.c
po/ja.po
po/lv.po
po/sr.po
tests/check/Makefile.am
tests/check/elements/qtmux.c
tests/check/elements/rgvolume.c
2012-01-10 14:32:32 +01:00
Wim Taymans
5fd2b7abe3
GST_FLOW_UNEXPECTED -> GST_FLOW_EOS
2012-01-03 15:26:21 +01:00