mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
pngdec: Actually use the stop() vfunc implementation
This commit is contained in:
parent
dc5db0e980
commit
63fd591044
1 changed files with 3 additions and 2 deletions
|
@ -85,6 +85,7 @@ gst_pngdec_class_init (GstPngDecClass * klass)
|
||||||
"Wim Taymans <wim@fluendo.com>");
|
"Wim Taymans <wim@fluendo.com>");
|
||||||
|
|
||||||
vdec_class->start = gst_pngdec_start;
|
vdec_class->start = gst_pngdec_start;
|
||||||
|
vdec_class->stop = gst_pngdec_stop;
|
||||||
vdec_class->reset = gst_pngdec_reset;
|
vdec_class->reset = gst_pngdec_reset;
|
||||||
vdec_class->set_format = gst_pngdec_set_format;
|
vdec_class->set_format = gst_pngdec_set_format;
|
||||||
vdec_class->handle_frame = gst_pngdec_handle_frame;
|
vdec_class->handle_frame = gst_pngdec_handle_frame;
|
||||||
|
@ -524,8 +525,8 @@ gst_pngdec_stop (GstVideoDecoder * decoder)
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_pngdec_reset (GstVideoDecoder * decoder, gboolean hard)
|
gst_pngdec_reset (GstVideoDecoder * decoder, gboolean hard)
|
||||||
{
|
{
|
||||||
gst_pngdec_libpng_clear (decoder);
|
gst_pngdec_libpng_clear ((GstPngDec *) decoder);
|
||||||
gst_pngdec_libpng_init (decoder);
|
gst_pngdec_libpng_init ((GstPngDec *) decoder);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue