videoencoder: allow 0 sized output frames
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 24 Aug 2012 14:56:00 +0000 (16:56 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 24 Aug 2012 14:56:00 +0000 (16:56 +0200)
commita994ebcf1ba4fd36420957b00e944681dff048ad
tree4970c3541344170e6df6e6b1d1d481401dd18317
parentefac71bab7aec1659e759431ae658ceeb2abbafd
videoencoder: allow 0 sized output frames

Allow 0 sized frames in gst_video_encoder_allocate_output_frame(). Theora
encodes repeat frames, for example, as 0 sized buffers.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681196
gst-libs/gst/video/gstvideoencoder.c