videoencoder: Deprecate GST_VIDEO_ENCODER_FLOW_DROPPED
authorThibault Saunier <tsaunier@gnome.org>
Tue, 19 Jan 2016 22:26:57 +0000 (23:26 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 20 Jan 2016 07:51:09 +0000 (09:51 +0200)
It was never actually supported or used

https://bugzilla.gnome.org/show_bug.cgi?id=760666

gst-libs/gst/video/gstvideoencoder.h

index f01afc62dd8a9d9077e02fcf8634edb69bf1dce7..171d3c96e169b25d47409522a7b9e90e335a45c2 100644 (file)
@@ -83,8 +83,13 @@ G_BEGIN_DECLS
  * GST_VIDEO_ENCODER_FLOW_DROPPED:
  *
  * Returned when the event/buffer should be dropped.
+ *
+ * Deprecated: since 1.8. use gst_video_encoder_finish_frame with
+ * a %NULL frame->output_buffer to drop the frame instead.
  */
+#ifndef GST_DISABLE_DEPRECATED
 #define GST_VIDEO_ENCODER_FLOW_DROPPED GST_FLOW_CUSTOM_SUCCESS_1
+#endif
 
 /**
  * GST_VIDEO_ENCODER_INPUT_SEGMENT: