videodecoder: Fix property description for new properties

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1556>
This commit is contained in:
Sebastian Dröge 2022-01-23 13:38:37 +02:00
parent 5cedf017f5
commit 64085c20b4

View File

@ -694,8 +694,8 @@ gst_video_decoder_class_init (GstVideoDecoderClass * klass)
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_AUTOMATIC_REQUEST_SYNC_POINTS, PROP_AUTOMATIC_REQUEST_SYNC_POINTS,
g_param_spec_boolean ("automatic-request-sync-points", g_param_spec_boolean ("automatic-request-sync-points",
"Discard Corrupted Frames", "Automatic Request Sync Points",
"Discard frames marked as corrupted instead of outputting them", "Automatically request sync points when it would be useful",
DEFAULT_AUTOMATIC_REQUEST_SYNC_POINTS, DEFAULT_AUTOMATIC_REQUEST_SYNC_POINTS,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
@ -710,8 +710,8 @@ gst_video_decoder_class_init (GstVideoDecoderClass * klass)
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_AUTOMATIC_REQUEST_SYNC_POINT_FLAGS, PROP_AUTOMATIC_REQUEST_SYNC_POINT_FLAGS,
g_param_spec_flags ("automatic-request-sync-point-flags", g_param_spec_flags ("automatic-request-sync-point-flags",
"Discard Corrupted Frames", "Automatic Request Sync Point Flags",
"Discard frames marked as corrupted instead of outputting them", "Flags to use when automatically requesting sync points",
GST_TYPE_VIDEO_DECODER_REQUEST_SYNC_POINT_FLAGS, GST_TYPE_VIDEO_DECODER_REQUEST_SYNC_POINT_FLAGS,
DEFAULT_AUTOMATIC_REQUEST_SYNC_POINT_FLAGS, DEFAULT_AUTOMATIC_REQUEST_SYNC_POINT_FLAGS,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));