mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
various (gst): add missing G_PARAM_STATIC_STRINGS flags
Canonicalize property names as needed.
This commit is contained in:
parent
92634ff92a
commit
0c22e1b954
56 changed files with 312 additions and 206 deletions
|
@ -285,33 +285,38 @@ gst_asf_mux_class_init (GstAsfMuxClass * klass)
|
|||
g_param_spec_uint ("packet-size", "Packet size",
|
||||
"The ASF packets size (bytes)",
|
||||
ASF_MULTIPLE_PAYLOAD_HEADER_SIZE + 1, G_MAXUINT32,
|
||||
DEFAULT_PACKET_SIZE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_PACKET_SIZE,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_PREROLL,
|
||||
g_param_spec_uint64 ("preroll", "Preroll",
|
||||
"The preroll time (milisecs)",
|
||||
0, G_MAXUINT64,
|
||||
DEFAULT_PREROLL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_PREROLL,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_MERGE_STREAM_TAGS,
|
||||
g_param_spec_boolean ("merge-stream-tags", "Merge Stream Tags",
|
||||
"If the stream metadata (received as events in the sink) should be "
|
||||
"merged to the main file metadata.",
|
||||
DEFAULT_MERGE_STREAM_TAGS, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_MERGE_STREAM_TAGS,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_PADDING,
|
||||
g_param_spec_uint64 ("padding", "Padding",
|
||||
"Size of the padding object to be added to the end of the header. "
|
||||
"If this less than 24 (the smaller size of an ASF object), "
|
||||
"no padding is added.",
|
||||
0, G_MAXUINT64,
|
||||
DEFAULT_PADDING, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_PADDING,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_IS_LIVE,
|
||||
g_param_spec_boolean ("is-live", "Is Live (deprecated)",
|
||||
"Deprecated in 0.10.20, use 'streamable' instead",
|
||||
DEFAULT_STREAMABLE, G_PARAM_READWRITE));
|
||||
DEFAULT_STREAMABLE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_STREAMABLE,
|
||||
g_param_spec_boolean ("streamable", "Streamable",
|
||||
"If set to true, the output should be as if it is to be streamed "
|
||||
"and hence no indexes written or duration written.",
|
||||
DEFAULT_STREAMABLE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_STREAMABLE,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->request_new_pad =
|
||||
GST_DEBUG_FUNCPTR (gst_asf_mux_request_new_pad);
|
||||
|
|
|
@ -204,7 +204,8 @@ gst_auto_convert_class_init (GstAutoConvertClass * klass)
|
|||
"Install identity initially",
|
||||
"If true, then the identity element will be installed initially "
|
||||
"and used for event passing until the first data buffer arrives ",
|
||||
DEFAULT_INITIAL_IDENTITY, G_PARAM_READWRITE));
|
||||
DEFAULT_INITIAL_IDENTITY,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->change_state =
|
||||
GST_DEBUG_FUNCPTR (gst_auto_convert_change_state);
|
||||
|
|
|
@ -130,7 +130,8 @@ gst_camerabin_image_class_init (GstCameraBinImageClass * klass)
|
|||
**/
|
||||
g_object_class_install_property (gobject_class, PROP_FILENAME,
|
||||
g_param_spec_string ("filename", "Filename",
|
||||
"Filename of the image to save", NULL, G_PARAM_READWRITE));
|
||||
"Filename of the image to save", NULL,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -158,7 +158,8 @@ gst_camerabin_video_class_init (GstCameraBinVideoClass * klass)
|
|||
**/
|
||||
g_object_class_install_property (gobject_class, PROP_FILENAME,
|
||||
g_param_spec_string ("filename", "Filename",
|
||||
"Filename of the video to save", NULL, G_PARAM_READWRITE));
|
||||
"Filename of the video to save", NULL,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -280,27 +280,27 @@ gst_dccp_client_sink_class_init (GstDCCPClientSinkClass * klass)
|
|||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_PORT,
|
||||
g_param_spec_int ("port", "Port",
|
||||
"The port to send the packets to", 0, G_MAXUINT16,
|
||||
DCCP_DEFAULT_PORT, G_PARAM_READWRITE));
|
||||
DCCP_DEFAULT_PORT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_HOST,
|
||||
g_param_spec_string ("host", "Host",
|
||||
"The host IP address to send packets to", DCCP_DEFAULT_HOST,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_SOCK_FD,
|
||||
g_param_spec_int ("sockfd", "Socket fd",
|
||||
"The socket file descriptor", -1, G_MAXINT,
|
||||
DCCP_DEFAULT_SOCK_FD, G_PARAM_READWRITE));
|
||||
DCCP_DEFAULT_SOCK_FD, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_CLOSE_FD,
|
||||
g_param_spec_boolean ("close-socket", "Close",
|
||||
"Close socket at end of stream",
|
||||
DCCP_DEFAULT_CLOSED, G_PARAM_READWRITE));
|
||||
DCCP_DEFAULT_CLOSED, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_CCID,
|
||||
g_param_spec_int ("ccid", "CCID",
|
||||
"The Congestion Control IDentified to be used", 2, G_MAXINT,
|
||||
DCCP_DEFAULT_CCID, G_PARAM_READWRITE));
|
||||
DCCP_DEFAULT_CCID, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/* signals */
|
||||
/**
|
||||
|
|
|
@ -356,31 +356,32 @@ gst_dccp_client_src_class_init (GstDCCPClientSrcClass * klass)
|
|||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_PORT,
|
||||
g_param_spec_int ("port", "Port",
|
||||
"The port to receive packets from", 0, G_MAXUINT16,
|
||||
DCCP_DEFAULT_PORT, G_PARAM_READWRITE));
|
||||
DCCP_DEFAULT_PORT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_HOST,
|
||||
g_param_spec_string ("host", "Host",
|
||||
"The host IP address to receive packets from", DCCP_DEFAULT_HOST,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_SOCK_FD,
|
||||
g_param_spec_int ("sockfd", "Socket fd",
|
||||
"The socket file descriptor", -1, G_MAXINT, DCCP_DEFAULT_SOCK_FD,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_CLOSED,
|
||||
g_param_spec_boolean ("close-socket", "Close socket",
|
||||
"Close socket at the end of stream", DCCP_DEFAULT_CLOSED,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_CAPS,
|
||||
g_param_spec_boxed ("caps", "Caps",
|
||||
"The caps of the source pad", GST_TYPE_CAPS, G_PARAM_READWRITE));
|
||||
"The caps of the source pad", GST_TYPE_CAPS,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_CCID,
|
||||
g_param_spec_int ("ccid", "CCID",
|
||||
"The Congestion Control IDentified to be used", 2, G_MAXINT,
|
||||
DCCP_DEFAULT_CCID, G_PARAM_READWRITE));
|
||||
DCCP_DEFAULT_CCID, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/* signals */
|
||||
/**
|
||||
|
|
|
@ -410,27 +410,29 @@ gst_dccp_server_sink_class_init (GstDCCPServerSinkClass * klass)
|
|||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_PORT,
|
||||
g_param_spec_int ("port", "Port",
|
||||
"The port to listen to", 0, G_MAXUINT16,
|
||||
DCCP_DEFAULT_PORT, G_PARAM_READWRITE));
|
||||
DCCP_DEFAULT_PORT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_CLIENT_SOCK_FD,
|
||||
g_param_spec_int ("sockfd", "Socket fd",
|
||||
"The client socket file descriptor", -1, G_MAXINT,
|
||||
DCCP_DEFAULT_CLIENT_SOCK_FD, G_PARAM_READWRITE));
|
||||
DCCP_DEFAULT_CLIENT_SOCK_FD,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_CLOSED,
|
||||
g_param_spec_boolean ("close-socket", "Close",
|
||||
"Close the client sockets at end of stream",
|
||||
DCCP_DEFAULT_CLOSED, G_PARAM_READWRITE));
|
||||
DCCP_DEFAULT_CLOSED, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_CCID,
|
||||
g_param_spec_int ("ccid", "CCID",
|
||||
"The Congestion Control IDentified to be used", 2, G_MAXINT,
|
||||
DCCP_DEFAULT_CCID, G_PARAM_READWRITE));
|
||||
DCCP_DEFAULT_CCID, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_WAIT_CONNECTIONS,
|
||||
g_param_spec_boolean ("wait-connections", "Wait connections",
|
||||
"Wait for many client connections",
|
||||
DCCP_DEFAULT_WAIT_CONNECTIONS, G_PARAM_READWRITE));
|
||||
DCCP_DEFAULT_WAIT_CONNECTIONS,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
|
||||
/* signals */
|
||||
|
|
|
@ -345,26 +345,28 @@ gst_dccp_server_src_class_init (GstDCCPServerSrcClass * klass)
|
|||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_PORT,
|
||||
g_param_spec_int ("port", "Port",
|
||||
"The port to listen to", 0, G_MAXUINT16,
|
||||
DCCP_DEFAULT_PORT, G_PARAM_READWRITE));
|
||||
DCCP_DEFAULT_PORT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_CLIENT_SOCK_FD,
|
||||
g_param_spec_int ("sockfd", "Socket fd",
|
||||
"The client socket file descriptor", -1, G_MAXINT,
|
||||
DCCP_DEFAULT_CLIENT_SOCK_FD, G_PARAM_READWRITE));
|
||||
DCCP_DEFAULT_CLIENT_SOCK_FD,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_CLOSED,
|
||||
g_param_spec_boolean ("close-socket", "Close socket",
|
||||
"Close client socket at the end of stream", DCCP_DEFAULT_CLOSED,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_CCID,
|
||||
g_param_spec_int ("ccid", "CCID",
|
||||
"The Congestion Control IDentified to be used", 2, G_MAXINT,
|
||||
DCCP_DEFAULT_CCID, G_PARAM_READWRITE));
|
||||
DCCP_DEFAULT_CCID, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_CAPS,
|
||||
g_param_spec_boxed ("caps", "Caps",
|
||||
"The caps of the source pad", GST_TYPE_CAPS, G_PARAM_READWRITE));
|
||||
"The caps of the source pad", GST_TYPE_CAPS,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/* signals */
|
||||
/**
|
||||
|
|
|
@ -272,7 +272,8 @@ gst_dtmf_src_class_init (GstDTMFSrcClass * klass)
|
|||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_INTERVAL,
|
||||
g_param_spec_uint ("interval", "Interval between tone packets",
|
||||
"Interval in ms between two tone packets", MIN_PACKET_INTERVAL,
|
||||
MAX_PACKET_INTERVAL, DEFAULT_PACKET_INTERVAL, G_PARAM_READWRITE));
|
||||
MAX_PACKET_INTERVAL, DEFAULT_PACKET_INTERVAL,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->change_state =
|
||||
GST_DEBUG_FUNCPTR (gst_dtmf_src_change_state);
|
||||
|
|
|
@ -262,13 +262,14 @@ gst_rtp_dtmf_depay_class_init (GstRtpDTMFDepayClass * klass)
|
|||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_UNIT_TIME,
|
||||
g_param_spec_uint ("unit-time", "Duration unittime",
|
||||
"The smallest unit (ms) the duration must be a multiple of (0 disables it)",
|
||||
MIN_UNIT_TIME, MAX_UNIT_TIME, DEFAULT_UNIT_TIME, G_PARAM_READWRITE));
|
||||
MIN_UNIT_TIME, MAX_UNIT_TIME, DEFAULT_UNIT_TIME,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_MAX_DURATION,
|
||||
g_param_spec_uint ("max-duration", "Maximum duration",
|
||||
"The maxumimum duration (ms) of the outgoing soundpacket. "
|
||||
"(0 = no limit)", 0, G_MAXUINT, DEFAULT_MAX_DURATION,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstbasertpdepayload_class->process =
|
||||
GST_DEBUG_FUNCPTR (gst_rtp_dtmf_depay_process);
|
||||
|
|
|
@ -244,41 +244,46 @@ gst_rtp_dtmf_src_class_init (GstRTPDTMFSrcClass * klass)
|
|||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_TIMESTAMP,
|
||||
g_param_spec_uint ("timestamp", "Timestamp",
|
||||
"The RTP timestamp of the last processed packet",
|
||||
0, G_MAXUINT, 0, G_PARAM_READABLE));
|
||||
0, G_MAXUINT, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_SEQNUM,
|
||||
g_param_spec_uint ("seqnum", "Sequence number",
|
||||
"The RTP sequence number of the last processed packet",
|
||||
0, G_MAXUINT, 0, G_PARAM_READABLE));
|
||||
0, G_MAXUINT, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass),
|
||||
PROP_TIMESTAMP_OFFSET, g_param_spec_int ("timestamp-offset",
|
||||
"Timestamp Offset",
|
||||
"Offset to add to all outgoing timestamps (-1 = random)", -1,
|
||||
G_MAXINT, DEFAULT_TIMESTAMP_OFFSET, G_PARAM_READWRITE));
|
||||
G_MAXINT, DEFAULT_TIMESTAMP_OFFSET,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_SEQNUM_OFFSET,
|
||||
g_param_spec_int ("seqnum-offset", "Sequence number Offset",
|
||||
"Offset to add to all outgoing seqnum (-1 = random)", -1, G_MAXINT,
|
||||
DEFAULT_SEQNUM_OFFSET, G_PARAM_READWRITE));
|
||||
DEFAULT_SEQNUM_OFFSET, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_CLOCK_RATE,
|
||||
g_param_spec_uint ("clock-rate", "clockrate",
|
||||
"The clock-rate at which to generate the dtmf packets",
|
||||
0, G_MAXUINT, DEFAULT_CLOCK_RATE, G_PARAM_READWRITE));
|
||||
0, G_MAXUINT, DEFAULT_CLOCK_RATE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_SSRC,
|
||||
g_param_spec_uint ("ssrc", "SSRC",
|
||||
"The SSRC of the packets (-1 == random)",
|
||||
0, G_MAXUINT, DEFAULT_SSRC, G_PARAM_READWRITE));
|
||||
0, G_MAXUINT, DEFAULT_SSRC,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_PT,
|
||||
g_param_spec_uint ("pt", "payload type",
|
||||
"The payload type of the packets",
|
||||
0, 0x80, DEFAULT_PT, G_PARAM_READWRITE));
|
||||
0, 0x80, DEFAULT_PT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_INTERVAL,
|
||||
g_param_spec_uint ("interval", "Interval between rtp packets",
|
||||
"Interval in ms between two rtp packets", MIN_PACKET_INTERVAL,
|
||||
MAX_PACKET_INTERVAL, DEFAULT_PACKET_INTERVAL, G_PARAM_READWRITE));
|
||||
MAX_PACKET_INTERVAL, DEFAULT_PACKET_INTERVAL,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_REDUNDANCY,
|
||||
g_param_spec_uint ("packet-redundancy", "Packet Redundancy",
|
||||
"Number of packets to send to indicate start and stop dtmf events",
|
||||
MIN_PACKET_REDUNDANCY, MAX_PACKET_REDUNDANCY,
|
||||
DEFAULT_PACKET_REDUNDANCY, G_PARAM_READWRITE));
|
||||
DEFAULT_PACKET_REDUNDANCY,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->change_state =
|
||||
GST_DEBUG_FUNCPTR (gst_rtp_dtmf_src_change_state);
|
||||
|
|
|
@ -125,16 +125,19 @@ gst_iir_class_init (GstIIRClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, PROP_A,
|
||||
g_param_spec_double ("A", "A", "A filter coefficient",
|
||||
-G_MAXDOUBLE, G_MAXDOUBLE, 0, G_PARAM_READWRITE));
|
||||
-G_MAXDOUBLE, G_MAXDOUBLE, 0,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_B,
|
||||
g_param_spec_double ("B", "B", "B filter coefficient",
|
||||
-G_MAXDOUBLE, G_MAXDOUBLE, 0, G_PARAM_READWRITE));
|
||||
-G_MAXDOUBLE, G_MAXDOUBLE, 0,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_GAIN,
|
||||
g_param_spec_double ("gain", "Gain", "Filter gain",
|
||||
-G_MAXDOUBLE, G_MAXDOUBLE, 0, G_PARAM_READWRITE));
|
||||
-G_MAXDOUBLE, G_MAXDOUBLE, 0,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_STAGES,
|
||||
g_param_spec_int ("stages", "Stages", "Number of filter stages",
|
||||
1, G_MAXINT, 1, G_PARAM_READWRITE));
|
||||
1, G_MAXINT, 1, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
trans_class->transform_ip = GST_DEBUG_FUNCPTR (iir_transform_ip);
|
||||
trans_class->set_caps = GST_DEBUG_FUNCPTR (iir_set_caps);
|
||||
|
|
|
@ -110,7 +110,8 @@ gst_freeze_class_init (GstFreezeClass * klass)
|
|||
ARG_MAX_BUFFERS,
|
||||
g_param_spec_uint ("max-buffers",
|
||||
"max-buffers",
|
||||
"Maximum number of buffers", 0, G_MAXUINT, 1, G_PARAM_READWRITE));
|
||||
"Maximum number of buffers", 0, G_MAXUINT, 1,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
object_class->dispose = gst_freeze_dispose;
|
||||
|
||||
|
|
|
@ -167,10 +167,12 @@ gst_puzzle_class_init (gpointer g_class, gpointer class_data)
|
|||
|
||||
g_object_class_install_property (gobject_class, ARG_ROWS,
|
||||
g_param_spec_uint ("rows", "rows", "number of rows in puzzle",
|
||||
1, G_MAXUINT, 4, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
1, G_MAXUINT, 4,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_COLUMNS,
|
||||
g_param_spec_uint ("columns", "columns", "number of columns in puzzle",
|
||||
1, G_MAXUINT, 4, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
1, G_MAXUINT, 4,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
videofilter_class->setup = gst_puzzle_setup;
|
||||
}
|
||||
|
|
|
@ -152,7 +152,7 @@ gst_burn_class_init (GstBurnClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, PROP_SILENT,
|
||||
g_param_spec_boolean ("silent", "Silent", "Produce verbose output ?",
|
||||
FALSE, G_PARAM_READWRITE));
|
||||
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
trans_class->set_caps = GST_DEBUG_FUNCPTR (gst_burn_set_caps);
|
||||
trans_class->transform = GST_DEBUG_FUNCPTR (gst_burn_transform);
|
||||
|
|
|
@ -166,7 +166,7 @@ gst_chromium_class_init (GstChromiumClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, PROP_SILENT,
|
||||
g_param_spec_boolean ("silent", "Silent", "Produce verbose output ?",
|
||||
FALSE, G_PARAM_READWRITE));
|
||||
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
trans_class->set_caps = GST_DEBUG_FUNCPTR (gst_chromium_set_caps);
|
||||
trans_class->transform = GST_DEBUG_FUNCPTR (gst_chromium_transform);
|
||||
|
|
|
@ -154,7 +154,7 @@ gst_dilate_class_init (GstDilateClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, PROP_SILENT,
|
||||
g_param_spec_boolean ("silent", "Silent", "Produce verbose output ?",
|
||||
FALSE, G_PARAM_READWRITE));
|
||||
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
trans_class->set_caps = GST_DEBUG_FUNCPTR (gst_dilate_set_caps);
|
||||
trans_class->transform = GST_DEBUG_FUNCPTR (gst_dilate_transform);
|
||||
|
|
|
@ -153,7 +153,7 @@ gst_dodge_class_init (GstDodgeClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, PROP_SILENT,
|
||||
g_param_spec_boolean ("silent", "Silent", "Produce verbose output ?",
|
||||
FALSE, G_PARAM_READWRITE));
|
||||
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
trans_class->set_caps = GST_DEBUG_FUNCPTR (gst_dodge_set_caps);
|
||||
trans_class->transform = GST_DEBUG_FUNCPTR (gst_dodge_transform);
|
||||
|
|
|
@ -154,7 +154,7 @@ gst_exclusion_class_init (GstExclusionClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, PROP_SILENT,
|
||||
g_param_spec_boolean ("silent", "Silent", "Produce verbose output ?",
|
||||
FALSE, G_PARAM_READWRITE));
|
||||
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
trans_class->set_caps = GST_DEBUG_FUNCPTR (gst_exclusion_set_caps);
|
||||
trans_class->transform = GST_DEBUG_FUNCPTR (gst_exclusion_transform);
|
||||
|
|
|
@ -154,7 +154,7 @@ gst_solarize_class_init (GstSolarizeClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, PROP_SILENT,
|
||||
g_param_spec_boolean ("silent", "Silent", "Produce verbose output ?",
|
||||
FALSE, G_PARAM_READWRITE));
|
||||
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
trans_class->set_caps = GST_DEBUG_FUNCPTR (gst_solarize_set_caps);
|
||||
trans_class->transform = GST_DEBUG_FUNCPTR (gst_solarize_transform);
|
||||
|
|
|
@ -919,16 +919,16 @@ gst_h264_parse_class_init (GstH264ParseClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_SPLIT_PACKETIZED,
|
||||
g_param_spec_boolean ("split-packetized", "Split packetized",
|
||||
"Split NAL units of packetized streams", DEFAULT_SPLIT_PACKETIZED,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_ACCESS_UNIT,
|
||||
g_param_spec_boolean ("access-unit", "Access Units",
|
||||
"Output Acess Units rather than NALUs", DEFAULT_ACCESS_UNIT,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_OUTPUT_FORMAT,
|
||||
g_param_spec_enum ("output-format", "Output Format",
|
||||
"Output Format of stream (bytestream or otherwise)",
|
||||
GST_H264_PARSE_FORMAT_TYPE, DEFAULT_OUTPUT_FORMAT,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_CONFIG_INTERVAL,
|
||||
g_param_spec_uint ("config-interval",
|
||||
"SPS PPS Send Interval",
|
||||
|
|
|
@ -114,18 +114,18 @@ gst_id3_mux_class_init (GstId3MuxClass * klass)
|
|||
g_object_class_install_property (gobject_class, ARG_WRITE_V1,
|
||||
g_param_spec_boolean ("write-v1", "Write id3v1 tag",
|
||||
"Write an id3v1 tag at the end of the file", DEFAULT_WRITE_V1,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, ARG_WRITE_V2,
|
||||
g_param_spec_boolean ("write-v2", "Write id3v2 tag",
|
||||
"Write an id3v2 tag at the start of the file", DEFAULT_WRITE_V2,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, ARG_V2_MAJOR_VERSION,
|
||||
g_param_spec_int ("v2-version", "Version (3 or 4) of id3v2 tag",
|
||||
"Set version (3 for id3v2.3, 4 for id3v2.4) of id3v2 tags",
|
||||
3, 4, DEFAULT_V2_MAJOR_VERSION,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
GST_TAG_MUX_CLASS (klass)->render_start_tag =
|
||||
GST_DEBUG_FUNCPTR (gst_id3_mux_render_v2_tag);
|
||||
|
|
|
@ -120,40 +120,48 @@ gst_rfb_src_class_init (GstRfbSrcClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, ARG_HOST,
|
||||
g_param_spec_string ("host", "Host to connect to", "Host to connect to",
|
||||
"127.0.0.1", G_PARAM_READWRITE));
|
||||
"127.0.0.1", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_PORT,
|
||||
g_param_spec_int ("port", "Port", "Port",
|
||||
1, 65535, 5900, G_PARAM_READWRITE));
|
||||
1, 65535, 5900, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_VERSION,
|
||||
g_param_spec_string ("version", "RFB protocol version",
|
||||
"RFB protocol version", "3.3", G_PARAM_READWRITE));
|
||||
"RFB protocol version", "3.3",
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_PASSWORD,
|
||||
g_param_spec_string ("password", "Password for authentication",
|
||||
"Password for authentication", "", G_PARAM_WRITABLE));
|
||||
"Password for authentication", "",
|
||||
G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_OFFSET_X,
|
||||
g_param_spec_int ("offset-x", "x offset for screen scrapping",
|
||||
"x offset for screen scrapping", 0, 65535, 0, G_PARAM_READWRITE));
|
||||
"x offset for screen scrapping", 0, 65535, 0,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_OFFSET_Y,
|
||||
g_param_spec_int ("offset-y", "y offset for screen scrapping",
|
||||
"y offset for screen scrapping", 0, 65535, 0, G_PARAM_READWRITE));
|
||||
"y offset for screen scrapping", 0, 65535, 0,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_WIDTH,
|
||||
g_param_spec_int ("width", "width of screen", "width of screen", 0, 65535,
|
||||
0, G_PARAM_READWRITE));
|
||||
0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_HEIGHT,
|
||||
g_param_spec_int ("height", "height of screen", "height of screen", 0,
|
||||
65535, 0, G_PARAM_READWRITE));
|
||||
65535, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_INCREMENTAL,
|
||||
g_param_spec_boolean ("incremental", "Incremental updates",
|
||||
"Incremental updates", TRUE, G_PARAM_READWRITE));
|
||||
"Incremental updates", TRUE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_USE_COPYRECT,
|
||||
g_param_spec_boolean ("use-copyrect", "Use copyrect encoding",
|
||||
"Use copyrect encoding", FALSE, G_PARAM_READWRITE));
|
||||
"Use copyrect encoding", FALSE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_SHARED,
|
||||
g_param_spec_boolean ("shared", "Share desktop with other clients",
|
||||
"Share desktop with other clients", TRUE, G_PARAM_READWRITE));
|
||||
"Share desktop with other clients", TRUE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_VIEWONLY,
|
||||
g_param_spec_boolean ("view-only", "Only view the desktop",
|
||||
"only view the desktop", FALSE, G_PARAM_READWRITE));
|
||||
"only view the desktop", FALSE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
gstbasesrc_class->start = GST_DEBUG_FUNCPTR (gst_rfb_src_start);
|
||||
gstbasesrc_class->stop = GST_DEBUG_FUNCPTR (gst_rfb_src_stop);
|
||||
gstbasesrc_class->event = GST_DEBUG_FUNCPTR (gst_rfb_src_event);
|
||||
|
|
|
@ -178,15 +178,17 @@ gst_mixmatrix_class_init (GstMixMatrixClass * klass)
|
|||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SINKPADS,
|
||||
g_param_spec_int ("sinkpads", "Sink Pads",
|
||||
"Number of sink pads in matrix", 0, G_MAXINT, 8, G_PARAM_READABLE));
|
||||
"Number of sink pads in matrix", 0, G_MAXINT, 8,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SRCPADS,
|
||||
g_param_spec_int ("srcpads", "Src Pads", "Number of src pads in matrix",
|
||||
0, G_MAXINT, 8, G_PARAM_READABLE));
|
||||
0, G_MAXINT, 8, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_MATRIXPTR,
|
||||
g_param_spec_pointer ("matrixptr", "Matrix Pointer",
|
||||
"Pointer to gfloat mix matrix", G_PARAM_READABLE));
|
||||
"Pointer to gfloat mix matrix",
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gobject_class->set_property = gst_mixmatrix_set_property;
|
||||
gobject_class->get_property = gst_mixmatrix_get_property;
|
||||
|
|
|
@ -978,7 +978,7 @@ gst_mpeg4vparse_class_init (GstMpeg4VParseClass * klass)
|
|||
g_param_spec_boolean ("drop", "drop",
|
||||
"Drop data untill valid configuration data is received either "
|
||||
"in the stream or through caps", DEFAULT_PROP_DROP,
|
||||
G_PARAM_CONSTRUCT | G_PARAM_READWRITE));
|
||||
G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_CONFIG_INTERVAL,
|
||||
g_param_spec_uint ("config-interval",
|
||||
|
|
|
@ -92,12 +92,12 @@ mpegts_pat_info_class_init (MpegTsPatInfoClass * klass)
|
|||
g_object_class_install_property (gobject_klass, PROP_PROGRAM_NO,
|
||||
g_param_spec_uint ("program-number", "Program Number",
|
||||
"Program Number for this program", 0, G_MAXUINT16, 1,
|
||||
G_PARAM_READABLE));
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_klass, PROP_PID,
|
||||
g_param_spec_uint ("pid", "PID carrying PMT",
|
||||
"PID which carries the PMT for this program", 1, G_MAXUINT16, 1,
|
||||
G_PARAM_READABLE));
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -84,12 +84,12 @@ mpegts_pmt_info_class_init (MpegTsPmtInfoClass * klass)
|
|||
g_object_class_install_property (gobject_klass, PROP_PROGRAM_NO,
|
||||
g_param_spec_uint ("program-number", "Program Number",
|
||||
"Program Number for this program", 0, G_MAXUINT16, 1,
|
||||
G_PARAM_READABLE));
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_klass, PROP_PCR_PID,
|
||||
g_param_spec_uint ("pcr-pid", "PID carrying the PCR for this program",
|
||||
"PID which carries the PCR for this program", 1, G_MAXUINT16, 1,
|
||||
G_PARAM_READABLE));
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_klass, PROP_STREAMINFO,
|
||||
g_param_spec_value_array ("stream-info",
|
||||
|
@ -97,13 +97,14 @@ mpegts_pmt_info_class_init (MpegTsPmtInfoClass * klass)
|
|||
"Array of GObjects containing information about the program streams",
|
||||
g_param_spec_object ("flu-pmt-streaminfo", "FluPMTStreamInfo",
|
||||
"Fluendo TS Demuxer PMT Stream info object",
|
||||
MPEGTS_TYPE_PMT_STREAM_INFO, G_PARAM_READABLE),
|
||||
G_PARAM_READABLE));
|
||||
MPEGTS_TYPE_PMT_STREAM_INFO,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS),
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_klass, PROP_VERSION_NO,
|
||||
g_param_spec_uint ("version-number", "Version Number",
|
||||
"Version number of this program information", 0, G_MAXUINT8, 1,
|
||||
G_PARAM_READABLE));
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_klass, PROP_DESCRIPTORS,
|
||||
g_param_spec_value_array ("descriptors",
|
||||
|
@ -111,7 +112,8 @@ mpegts_pmt_info_class_init (MpegTsPmtInfoClass * klass)
|
|||
"Value array of strings containing program descriptors",
|
||||
g_param_spec_boxed ("descriptor",
|
||||
"descriptor",
|
||||
"", G_TYPE_GSTRING, G_PARAM_READABLE), G_PARAM_READABLE));
|
||||
"", G_TYPE_GSTRING, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS),
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -84,16 +84,18 @@ mpegts_pmt_stream_info_class_init (MpegTsPmtStreamInfoClass * klass)
|
|||
g_object_class_install_property (gobject_klass, PROP_PID,
|
||||
g_param_spec_uint ("pid", "PID carrying this stream",
|
||||
"PID which carries this stream", 1, G_MAXUINT16, 1,
|
||||
G_PARAM_READABLE));
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_klass, PROP_LANGUAGES,
|
||||
g_param_spec_value_array ("languages", "Languages of this stream",
|
||||
"Value array of the languages of this stream",
|
||||
g_param_spec_string ("language", "language", "language", "",
|
||||
G_PARAM_READABLE), G_PARAM_READABLE));
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS),
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_klass, PROP_STREAM_TYPE,
|
||||
g_param_spec_uint ("stream-type",
|
||||
"Stream type", "Stream type", 0, G_MAXUINT8, 0, G_PARAM_READABLE));
|
||||
"Stream type", "Stream type", 0, G_MAXUINT8, 0,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_klass, PROP_DESCRIPTORS,
|
||||
g_param_spec_value_array ("descriptors",
|
||||
|
@ -101,7 +103,8 @@ mpegts_pmt_stream_info_class_init (MpegTsPmtStreamInfoClass * klass)
|
|||
"Value array of strings containing stream descriptors",
|
||||
g_param_spec_boxed ("descriptor",
|
||||
"descriptor",
|
||||
"", G_TYPE_GSTRING, G_PARAM_READABLE), G_PARAM_READABLE));
|
||||
"", G_TYPE_GSTRING, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS),
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -272,14 +272,17 @@ gst_mpegts_demux_class_init (GstMpegTSDemuxClass * klass)
|
|||
g_param_spec_string ("es-pids",
|
||||
"Colon separated list of PIDs containing Elementary Streams",
|
||||
"PIDs to treat as Elementary Streams in the absence of a PMT, "
|
||||
"eg 0x10:0x11:0x20", DEFAULT_PROP_ES_PIDS, G_PARAM_READWRITE));
|
||||
"eg 0x10:0x11:0x20", DEFAULT_PROP_ES_PIDS,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_CHECK_CRC,
|
||||
g_param_spec_boolean ("check-crc", "Check CRC",
|
||||
"Enable CRC checking", DEFAULT_PROP_CHECK_CRC, G_PARAM_READWRITE));
|
||||
"Enable CRC checking", DEFAULT_PROP_CHECK_CRC,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_PROGRAM_NUMBER,
|
||||
g_param_spec_int ("program-number", "Program Number",
|
||||
"Program number to demux for (-1 to ignore)", -1, G_MAXINT,
|
||||
DEFAULT_PROP_PROGRAM_NUMBER, G_PARAM_READWRITE));
|
||||
DEFAULT_PROP_PROGRAM_NUMBER,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_PAT_INFO,
|
||||
g_param_spec_value_array ("pat-info",
|
||||
|
@ -289,14 +292,15 @@ gst_mpegts_demux_class_init (GstMpegTSDemuxClass * klass)
|
|||
"Table (PAT)",
|
||||
g_param_spec_object ("flu-pat-streaminfo", "FluPATStreamInfo",
|
||||
"Fluendo TS Demuxer PAT Stream info object",
|
||||
MPEGTS_TYPE_PAT_INFO, G_PARAM_READABLE), G_PARAM_READABLE));
|
||||
MPEGTS_TYPE_PAT_INFO, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS),
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_PMT_INFO,
|
||||
g_param_spec_object ("pmt-info",
|
||||
"Information about the current program",
|
||||
"GObject with properties containing information from the TS PMT "
|
||||
"about the currently selected program and its streams",
|
||||
MPEGTS_TYPE_PMT_INFO, G_PARAM_READABLE));
|
||||
MPEGTS_TYPE_PMT_INFO, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->change_state = gst_mpegts_demux_change_state;
|
||||
gstelement_class->provide_clock = gst_mpegts_demux_provide_clock;
|
||||
|
@ -1042,8 +1046,8 @@ gst_mpegts_demux_data_cb (GstPESFilter * filter, gboolean first,
|
|||
* to drop. */
|
||||
if (stream->PMT_pid <= MPEGTS_MAX_PID && demux->streams[stream->PMT_pid]
|
||||
&& demux->streams[demux->streams[stream->PMT_pid]->PMT.PCR_PID]
|
||||
&& demux->streams[demux->streams[stream->PMT_pid]->PMT.
|
||||
PCR_PID]->discont_PCR) {
|
||||
&& demux->streams[demux->streams[stream->PMT_pid]->PMT.PCR_PID]->
|
||||
discont_PCR) {
|
||||
GST_WARNING_OBJECT (demux, "middle of discont, dropping");
|
||||
goto bad_timestamp;
|
||||
}
|
||||
|
@ -1065,8 +1069,8 @@ gst_mpegts_demux_data_cb (GstPESFilter * filter, gboolean first,
|
|||
*/
|
||||
if (stream->PMT_pid <= MPEGTS_MAX_PID && demux->streams[stream->PMT_pid]
|
||||
&& demux->streams[demux->streams[stream->PMT_pid]->PMT.PCR_PID]
|
||||
&& demux->streams[demux->streams[stream->PMT_pid]->PMT.
|
||||
PCR_PID]->last_PCR > 0) {
|
||||
&& demux->streams[demux->streams[stream->PMT_pid]->PMT.PCR_PID]->
|
||||
last_PCR > 0) {
|
||||
GST_DEBUG_OBJECT (demux, "timestamps wrapped before noticed in PCR");
|
||||
time = MPEGTIME_TO_GSTTIME (pts) + stream->base_time +
|
||||
MPEGTIME_TO_GSTTIME ((guint64) (1) << 33);
|
||||
|
|
|
@ -249,7 +249,8 @@ mpegts_parse_class_init (MpegTSParseClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_PROGRAM_NUMBERS,
|
||||
g_param_spec_string ("program-numbers",
|
||||
"Program Numbers",
|
||||
"Colon separated list of programs", "", G_PARAM_READWRITE));
|
||||
"Colon separated list of programs", "",
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
|
@ -189,19 +189,22 @@ mpegtsmux_class_init (MpegTsMuxClass * klass)
|
|||
GST_TYPE_STRUCTURE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_M2TS_MODE,
|
||||
g_param_spec_boolean ("m2ts_mode", "M2TS(192 bytes) Mode",
|
||||
g_param_spec_boolean ("m2ts-mode", "M2TS(192 bytes) Mode",
|
||||
"Defines what packet size to use, normal TS format ie .ts(188 bytes) "
|
||||
"or Blue-Ray disc ie .m2ts(192 bytes).", FALSE, G_PARAM_READWRITE));
|
||||
"or Blue-Ray disc ie .m2ts(192 bytes).", FALSE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_PAT_INTERVAL,
|
||||
g_param_spec_uint ("pat-interval", "PAT interval",
|
||||
"Set the interval (in ticks of the 90kHz clock) for writing out the PAT table",
|
||||
1, G_MAXUINT, TSMUX_DEFAULT_PAT_INTERVAL, G_PARAM_READWRITE));
|
||||
1, G_MAXUINT, TSMUX_DEFAULT_PAT_INTERVAL,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_PMT_INTERVAL,
|
||||
g_param_spec_uint ("pmt-interval", "PMT interval",
|
||||
"Set the interval (in ticks of the 90kHz clock) for writing out the PMT table",
|
||||
1, G_MAXUINT, TSMUX_DEFAULT_PMT_INTERVAL, G_PARAM_READWRITE));
|
||||
1, G_MAXUINT, TSMUX_DEFAULT_PMT_INTERVAL,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -1404,22 +1404,24 @@ gst_mve_mux_class_init (GstMveMuxClass * klass)
|
|||
g_object_class_install_property (gobject_class, ARG_AUDIO_COMPRESSION,
|
||||
g_param_spec_boolean ("compression", "Audio compression",
|
||||
"Whether to compress audio data", MVE_MUX_DEFAULT_COMPRESSION,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, ARG_VIDEO_QUICK_ENCODING,
|
||||
g_param_spec_boolean ("quick", "Quick encoding",
|
||||
"Whether to disable expensive encoding operations", TRUE,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, ARG_VIDEO_SCREEN_WIDTH,
|
||||
g_param_spec_uint ("screen-width", "Screen width",
|
||||
"Suggested screen width", 320, 1600,
|
||||
MVE_MUX_DEFAULT_SCREEN_WIDTH, G_PARAM_READWRITE));
|
||||
MVE_MUX_DEFAULT_SCREEN_WIDTH,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, ARG_VIDEO_SCREEN_HEIGHT,
|
||||
g_param_spec_uint ("screen-height", "Screen height",
|
||||
"Suggested screen height", 200, 1200,
|
||||
MVE_MUX_DEFAULT_SCREEN_HEIGHT, G_PARAM_READWRITE));
|
||||
MVE_MUX_DEFAULT_SCREEN_HEIGHT,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->request_new_pad = gst_mve_mux_request_new_pad;
|
||||
gstelement_class->release_pad = gst_mve_mux_release_pad;
|
||||
|
|
|
@ -163,10 +163,11 @@ gst_nsfdec_class_init (GstNsfDec * klass)
|
|||
gobject_class->get_property = gst_nsfdec_get_property;
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_TUNE,
|
||||
g_param_spec_int ("tune", "tune", "tune", 1, 100, 1, G_PARAM_READWRITE));
|
||||
g_param_spec_int ("tune", "tune", "tune", 1, 100, 1,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_FILTER,
|
||||
g_param_spec_enum ("filter", "filter", "filter", GST_TYPE_NSF_FILTER,
|
||||
NSF_FILTER_NONE, G_PARAM_WRITABLE));
|
||||
NSF_FILTER_NONE, G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (nsfdec_debug, "nsfdec", 0,
|
||||
"NES sound file (nsf) decoder");
|
||||
|
|
|
@ -179,7 +179,9 @@ passthrough_class_init (GstPassthroughClass * klass)
|
|||
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SILENT, g_param_spec_boolean ("silent", "silent", "silent", TRUE, G_PARAM_READWRITE)); /* CHECKME */
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SILENT,
|
||||
g_param_spec_boolean ("silent", "silent", "silent", TRUE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gobject_class->set_property = passthrough_set_property;
|
||||
gobject_class->get_property = passthrough_get_property;
|
||||
|
|
|
@ -120,25 +120,28 @@ gst_pcap_parse_class_init (GstPcapParseClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_SRC_IP, g_param_spec_string ("src-ip", "Source IP",
|
||||
"Source IP to restrict to", "", G_PARAM_READWRITE));
|
||||
"Source IP to restrict to", "",
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_DST_IP, g_param_spec_string ("dst-ip", "Destination IP",
|
||||
"Destination IP to restrict to", "", G_PARAM_READWRITE));
|
||||
"Destination IP to restrict to", "",
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_SRC_PORT, g_param_spec_int ("src-port", "Source port",
|
||||
"Source port to restrict to", -1, G_MAXUINT16, -1,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_DST_PORT, g_param_spec_int ("dst-port", "Destination port",
|
||||
"Destination port to restrict to", -1, G_MAXUINT16, -1,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_CAPS,
|
||||
g_param_spec_boxed ("caps", "Caps",
|
||||
"The caps of the source pad", GST_TYPE_CAPS, G_PARAM_READWRITE));
|
||||
"The caps of the source pad", GST_TYPE_CAPS,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (gst_pcap_parse_debug, "pcapparse", 0, "pcap parser");
|
||||
}
|
||||
|
|
|
@ -198,33 +198,36 @@ play_on_demand_class_init (GstPlayOnDemandClass * klass)
|
|||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_MUTE,
|
||||
g_param_spec_boolean ("mute", "Silence output", "Do not output any sound",
|
||||
FALSE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
FALSE,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_BUFFER_TIME,
|
||||
g_param_spec_float ("buffer-time", "Buffer length in seconds",
|
||||
"Number of seconds of audio the buffer holds", 0.0, G_MAXFLOAT,
|
||||
GST_POD_BUFFER_TIME, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
GST_POD_BUFFER_TIME,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_MAX_PLAYS,
|
||||
g_param_spec_uint ("max-plays", "Maximum simultaneous playbacks",
|
||||
"Maximum allowed number of simultaneous plays from the buffer", 1,
|
||||
G_MAXUINT, GST_POD_MAX_PLAYS, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
G_MAXUINT, GST_POD_MAX_PLAYS,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_TICK_RATE,
|
||||
g_param_spec_float ("tick-rate", "Tick rate (ticks/second)",
|
||||
"The rate of musical ticks, the smallest time unit in a song", 0,
|
||||
G_MAXFLOAT, GST_POD_TICK_RATE,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_TOTAL_TICKS,
|
||||
g_param_spec_uint ("total-ticks", "Total number of ticks",
|
||||
"Total number of ticks in the tick array", 1, G_MAXUINT, 1,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_TICKS,
|
||||
g_param_spec_pointer ("ticks", "Ticks to play sample on",
|
||||
"An array of ticks (musical times) at which to play the sample",
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -255,5 +255,5 @@ gst_pnmenc_class_init (GstPnmencClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, GST_PNMENC_PROP_ASCII,
|
||||
g_param_spec_boolean ("ascii", "ASCII Encoding", "The output will be "
|
||||
"ASCII encoded", FALSE, G_PARAM_READWRITE));
|
||||
"ASCII encoded", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
|
|
@ -134,21 +134,23 @@ gst_qt_moov_recover_class_init (GstQTMoovRecoverClass * klass)
|
|||
g_param_spec_string ("fixed-output",
|
||||
"Path to write the fixed file",
|
||||
"Path to write the fixed file to (used as output)",
|
||||
NULL, G_PARAM_READWRITE));
|
||||
NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_BROKEN_INPUT,
|
||||
g_param_spec_string ("broken-input",
|
||||
"Path to broken input file",
|
||||
"Path to broken input file. (If qtmux was on faststart mode, this "
|
||||
"file is the faststart file)", NULL, G_PARAM_READWRITE));
|
||||
"file is the faststart file)", NULL,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_RECOVERY_INPUT,
|
||||
g_param_spec_string ("recovery-input",
|
||||
"Path to recovery file",
|
||||
"Path to recovery file (used as input)", NULL, G_PARAM_READWRITE));
|
||||
"Path to recovery file (used as input)", NULL,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_FAST_START_MODE,
|
||||
g_param_spec_boolean ("faststart-mode",
|
||||
"If the broken input is from faststart mode",
|
||||
"If the broken input is from faststart mode",
|
||||
FALSE, G_PARAM_READWRITE));
|
||||
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (gst_qt_moov_recover_debug, "qtmoovrecover", 0,
|
||||
"QT Moovie Recover");
|
||||
|
|
|
@ -735,28 +735,34 @@ gst_real_audio_dec_class_init (GstRealAudioDecClass * klass)
|
|||
element_class->change_state = gst_real_audio_dec_change_state;
|
||||
|
||||
g_object_class_install_property (object_class, PROP_REAL_CODECS_PATH,
|
||||
g_param_spec_string ("real_codecs_path",
|
||||
g_param_spec_string ("real-codecs-path",
|
||||
"Path where to search for RealPlayer codecs",
|
||||
"Path where to search for RealPlayer codecs",
|
||||
DEFAULT_REAL_CODECS_PATH, G_PARAM_READWRITE));
|
||||
DEFAULT_REAL_CODECS_PATH,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (object_class, PROP_RACOOK_NAMES,
|
||||
g_param_spec_string ("racook_names", "Names of cook driver",
|
||||
"Names of cook driver", DEFAULT_RACOOK_NAMES, G_PARAM_READWRITE));
|
||||
g_param_spec_string ("racook-names", "Names of cook driver",
|
||||
"Names of cook driver", DEFAULT_RACOOK_NAMES,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (object_class, PROP_RAATRK_NAMES,
|
||||
g_param_spec_string ("raatrk_names", "Names of atrk driver",
|
||||
"Names of atrk driver", DEFAULT_RAATRK_NAMES, G_PARAM_READWRITE));
|
||||
g_param_spec_string ("raatrk-names", "Names of atrk driver",
|
||||
"Names of atrk driver", DEFAULT_RAATRK_NAMES,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (object_class, PROP_RA14_4_NAMES,
|
||||
g_param_spec_string ("ra14_4_names", "Names of 14_4 driver",
|
||||
"Names of 14_4 driver", DEFAULT_RA14_4_NAMES, G_PARAM_READWRITE));
|
||||
g_param_spec_string ("ra14-4-names", "Names of 14_4 driver",
|
||||
"Names of 14_4 driver", DEFAULT_RA14_4_NAMES,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (object_class, PROP_RA28_8_NAMES,
|
||||
g_param_spec_string ("ra28_8_names", "Names of 28_8 driver",
|
||||
"Names of 28_8 driver", DEFAULT_RA28_8_NAMES, G_PARAM_READWRITE));
|
||||
g_param_spec_string ("ra28-8-names", "Names of 28_8 driver",
|
||||
"Names of 28_8 driver", DEFAULT_RA28_8_NAMES,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (object_class, PROP_RASIPR_NAMES,
|
||||
g_param_spec_string ("rasipr_names", "Names of sipr driver",
|
||||
"Names of sipr driver", DEFAULT_RASIPR_NAMES, G_PARAM_READWRITE));
|
||||
g_param_spec_string ("rasipr-names", "Names of sipr driver",
|
||||
"Names of sipr driver", DEFAULT_RASIPR_NAMES,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (object_class, PROP_PASSWORD,
|
||||
g_param_spec_string ("password", "Password",
|
||||
"Password", DEFAULT_PWD, G_PARAM_READWRITE));
|
||||
g_param_spec_string ("password", "Password", "Password",
|
||||
DEFAULT_PWD, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (real_audio_dec_debug, "realaudiodec", 0,
|
||||
"RealAudio decoder");
|
||||
|
|
|
@ -750,20 +750,25 @@ gst_real_video_dec_class_init (GstRealVideoDecClass * klass)
|
|||
g_param_spec_string ("real-codecs-path",
|
||||
"Path where to search for RealPlayer codecs",
|
||||
"Path where to search for RealPlayer codecs",
|
||||
DEFAULT_REAL_CODECS_PATH, G_PARAM_READWRITE));
|
||||
DEFAULT_REAL_CODECS_PATH,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (object_class, PROP_RV20_NAMES,
|
||||
g_param_spec_string ("rv20-names", "Names of rv20 driver",
|
||||
"Names of rv20 driver", DEFAULT_RV20_NAMES, G_PARAM_READWRITE));
|
||||
"Names of rv20 driver", DEFAULT_RV20_NAMES,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (object_class, PROP_RV30_NAMES,
|
||||
g_param_spec_string ("rv30-names", "Names of rv30 driver",
|
||||
"Names of rv30 driver", DEFAULT_RV30_NAMES, G_PARAM_READWRITE));
|
||||
"Names of rv30 driver", DEFAULT_RV30_NAMES,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (object_class, PROP_RV40_NAMES,
|
||||
g_param_spec_string ("rv40-names", "Names of rv40 driver",
|
||||
"Names of rv40 driver", DEFAULT_RV40_NAMES, G_PARAM_READWRITE));
|
||||
"Names of rv40 driver", DEFAULT_RV40_NAMES,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (object_class, PROP_MAX_ERRORS,
|
||||
g_param_spec_int ("max-errors", "Max errors",
|
||||
"Maximum number of consecutive errors (0 = unlimited)",
|
||||
0, G_MAXINT, DEFAULT_MAX_ERRORS, G_PARAM_READWRITE));
|
||||
0, G_MAXINT, DEFAULT_MAX_ERRORS,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (realvideode_debug, "realvideodec", 0,
|
||||
"RealVideo decoder");
|
||||
|
|
|
@ -141,19 +141,21 @@ gst_rtp_mux_class_init (GstRTPMuxClass * klass)
|
|||
PROP_TIMESTAMP_OFFSET, g_param_spec_int ("timestamp-offset",
|
||||
"Timestamp Offset",
|
||||
"Offset to add to all outgoing timestamps (-1 = random)", -1,
|
||||
G_MAXINT, DEFAULT_TIMESTAMP_OFFSET, G_PARAM_READWRITE));
|
||||
G_MAXINT, DEFAULT_TIMESTAMP_OFFSET,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_SEQNUM_OFFSET,
|
||||
g_param_spec_int ("seqnum-offset", "Sequence number Offset",
|
||||
"Offset to add to all outgoing seqnum (-1 = random)", -1, G_MAXINT,
|
||||
DEFAULT_SEQNUM_OFFSET, G_PARAM_READWRITE));
|
||||
DEFAULT_SEQNUM_OFFSET, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_SEQNUM,
|
||||
g_param_spec_uint ("seqnum", "Sequence number",
|
||||
"The RTP sequence number of the last processed packet",
|
||||
0, G_MAXUINT, 0, G_PARAM_READABLE));
|
||||
0, G_MAXUINT, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_SSRC,
|
||||
g_param_spec_uint ("ssrc", "SSRC",
|
||||
"The SSRC of the packets (-1 == random)",
|
||||
0, G_MAXUINT, DEFAULT_SSRC, G_PARAM_READWRITE));
|
||||
0, G_MAXUINT, DEFAULT_SSRC,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->request_new_pad =
|
||||
GST_DEBUG_FUNCPTR (gst_rtp_mux_request_new_pad);
|
||||
|
|
|
@ -702,21 +702,22 @@ gst_scaletempo_class_init (GstScaletempoClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, PROP_RATE,
|
||||
g_param_spec_double ("rate", "Playback Rate", "Current playback rate",
|
||||
G_MININT, G_MAXINT, 1.0, G_PARAM_READABLE));
|
||||
G_MININT, G_MAXINT, 1.0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_STRIDE,
|
||||
g_param_spec_uint ("stride", "Stride Length",
|
||||
"Length in milliseconds to output each stride", 1, 5000, 30,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_OVERLAP,
|
||||
g_param_spec_double ("overlap", "Overlap Length",
|
||||
"Percentage of stride to overlap", 0, 1, .2, G_PARAM_READWRITE));
|
||||
"Percentage of stride to overlap", 0, 1, .2,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_SEARCH,
|
||||
g_param_spec_uint ("search", "Search Length",
|
||||
"Length in milliseconds to search for best overlap position", 0, 500,
|
||||
14, G_PARAM_READWRITE));
|
||||
14, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
basetransform_class->event = GST_DEBUG_FUNCPTR (gst_scaletempo_sink_event);
|
||||
basetransform_class->set_caps = GST_DEBUG_FUNCPTR (gst_scaletempo_set_caps);
|
||||
|
|
|
@ -182,23 +182,25 @@ gst_sdp_demux_class_init (GstSDPDemuxClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_DEBUG,
|
||||
g_param_spec_boolean ("debug", "Debug",
|
||||
"Dump request and response messages to stdout",
|
||||
DEFAULT_DEBUG, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_DEBUG,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_TIMEOUT,
|
||||
g_param_spec_uint64 ("timeout", "Timeout",
|
||||
"Fail transport after UDP timeout microseconds (0 = disabled)",
|
||||
0, G_MAXUINT64, DEFAULT_TIMEOUT,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_LATENCY,
|
||||
g_param_spec_uint ("latency", "Buffer latency in ms",
|
||||
"Amount of ms to buffer", 0, G_MAXUINT, DEFAULT_LATENCY_MS,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_REDIRECT,
|
||||
g_param_spec_boolean ("redirect", "Redirect",
|
||||
"Sends a redirection message instead of using a custom session element",
|
||||
DEFAULT_REDIRECT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_REDIRECT,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->change_state = gst_sdp_demux_change_state;
|
||||
|
||||
|
|
|
@ -187,18 +187,20 @@ gst_selector_pad_class_init (GstSelectorPadClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, PROP_PAD_RUNNING_TIME,
|
||||
g_param_spec_int64 ("running-time", "Running time",
|
||||
"Running time of stream on pad", 0, G_MAXINT64, 0, G_PARAM_READABLE));
|
||||
"Running time of stream on pad", 0, G_MAXINT64, 0,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_PAD_TAGS,
|
||||
g_param_spec_boxed ("tags", "Tags",
|
||||
"The currently active tags on the pad", GST_TYPE_TAG_LIST,
|
||||
G_PARAM_READABLE));
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_PAD_ACTIVE,
|
||||
g_param_spec_boolean ("active", "Active",
|
||||
"If the pad is currently active", FALSE, G_PARAM_READABLE));
|
||||
"If the pad is currently active", FALSE,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_PAD_ALWAYS_OK,
|
||||
g_param_spec_boolean ("always-ok", "Always OK",
|
||||
"Make an inactive pad return OK instead of NOT_LINKED",
|
||||
DEFAULT_PAD_ALWAYS_OK, G_PARAM_READWRITE));
|
||||
DEFAULT_PAD_ALWAYS_OK, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -738,15 +740,18 @@ gst_input_selector_class_init (GstInputSelectorClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, PROP_N_PADS,
|
||||
g_param_spec_uint ("n-pads", "Number of Pads",
|
||||
"The number of sink pads", 0, G_MAXUINT, 0, G_PARAM_READABLE));
|
||||
"The number of sink pads", 0, G_MAXUINT, 0,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_ACTIVE_PAD,
|
||||
g_param_spec_object ("active-pad", "Active pad",
|
||||
"The currently active sink pad", GST_TYPE_PAD, G_PARAM_READWRITE));
|
||||
"The currently active sink pad", GST_TYPE_PAD,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_SELECT_ALL,
|
||||
g_param_spec_boolean ("select-all", "Select all mode",
|
||||
"Forwards data from all input pads", FALSE, G_PARAM_READWRITE));
|
||||
"Forwards data from all input pads", FALSE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
* GstInputSelector::block:
|
||||
|
|
|
@ -111,11 +111,12 @@ gst_output_selector_class_init (GstOutputSelectorClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, PROP_ACTIVE_PAD,
|
||||
g_param_spec_object ("active-pad", "Active pad",
|
||||
"Currently active src pad", GST_TYPE_PAD, G_PARAM_READWRITE));
|
||||
"Currently active src pad", GST_TYPE_PAD,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_RESEND_LATEST,
|
||||
g_param_spec_boolean ("resend-latest", "Resend latest buffer",
|
||||
"Resend latest buffer after a switch to a new pad", FALSE,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->request_new_pad =
|
||||
GST_DEBUG_FUNCPTR (gst_output_selector_request_new_pad);
|
||||
|
|
|
@ -126,13 +126,13 @@ gst_smooth_class_init (GstSmoothClass * klass)
|
|||
/* FIXME: add long property descriptions */
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_ACTIVE,
|
||||
g_param_spec_boolean ("active", "active", "active", TRUE,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_TOLERANCE,
|
||||
g_param_spec_int ("tolerance", "tolerance", "tolerance", G_MININT,
|
||||
G_MAXINT, 0, G_PARAM_READWRITE));
|
||||
G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_FILTERSIZE,
|
||||
g_param_spec_int ("filtersize", "filtersize", "filtersize", G_MININT,
|
||||
G_MAXINT, 0, G_PARAM_READWRITE));
|
||||
G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gobject_class->set_property = gst_smooth_set_property;
|
||||
gobject_class->get_property = gst_smooth_get_property;
|
||||
|
|
|
@ -481,7 +481,8 @@ speed_class_init (GstSpeedClass * klass)
|
|||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SPEED,
|
||||
g_param_spec_float ("speed", "speed", "speed",
|
||||
0.1, 40.0, 1.0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
0.1, 40.0, 1.0,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -115,11 +115,13 @@ gst_stereo_class_init (GstStereoClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, ARG_ACTIVE,
|
||||
g_param_spec_boolean ("active", "active", "active",
|
||||
TRUE, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE));
|
||||
TRUE,
|
||||
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, ARG_STEREO,
|
||||
g_param_spec_float ("stereo", "stereo", "stereo",
|
||||
0.0, 1.0, 0.1, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE));
|
||||
0.0, 1.0, 0.1,
|
||||
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
trans_class->transform_ip = GST_DEBUG_FUNCPTR (gst_stereo_transform_ip);
|
||||
}
|
||||
|
|
|
@ -218,11 +218,13 @@ gst_srt_enc_class_init (GstSrtEncClass * klass)
|
|||
g_object_class_install_property (gobject_class, ARG_TIMESTAMP,
|
||||
g_param_spec_int64 ("timestamp", "Offset for the starttime",
|
||||
"Offset for the starttime for the subtitles", G_MININT64, G_MAXINT64,
|
||||
0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE));
|
||||
0,
|
||||
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_DURATION,
|
||||
g_param_spec_int64 ("duration", "Offset for the duration",
|
||||
"Offset for the duration of the subtitles", G_MININT64, G_MAXINT64,
|
||||
0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE));
|
||||
0,
|
||||
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (srtenc_debug, "srtenc", 0,
|
||||
"SubRip subtitle encoder");
|
||||
|
|
|
@ -188,14 +188,15 @@ gst_vbidec_class_init (GstVBIDecClass * klass)
|
|||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_VERBOSE,
|
||||
g_param_spec_boolean ("verbose", "verbose", "verbose",
|
||||
FALSE, G_PARAM_WRITABLE));
|
||||
FALSE, G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_CAPTION_TYPE,
|
||||
g_param_spec_enum ("caption type", "caption type", "Closed Caption Type",
|
||||
GST_TYPE_VBIDEC_CAPTION_TYPE_TYPE, CAPTURE_OFF, G_PARAM_READWRITE));
|
||||
g_param_spec_enum ("caption-type", "caption type", "Closed Caption Type",
|
||||
GST_TYPE_VBIDEC_CAPTION_TYPE_TYPE, CAPTURE_OFF,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DVD_INPUT,
|
||||
g_param_spec_boolean ("dvd input", "dvd input",
|
||||
g_param_spec_boolean ("dvd-input", "dvd input",
|
||||
"VBI is encapsulated in MPEG2 GOP user_data field (as on DVDs)",
|
||||
FALSE, G_PARAM_READWRITE));
|
||||
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -122,7 +122,8 @@ gst_videodrop_class_init (GstVideodropClass * klass)
|
|||
|
||||
g_object_class_install_property (object_class, ARG_SPEED,
|
||||
g_param_spec_float ("speed", "Speed",
|
||||
"Output speed (relative to input)", 0.01, 100, 1, G_PARAM_READWRITE));
|
||||
"Output speed (relative to input)", 0.01, 100, 1,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
object_class->set_property = gst_videodrop_set_property;
|
||||
object_class->get_property = gst_videodrop_get_property;
|
||||
|
|
|
@ -351,12 +351,14 @@ gst_measure_collector_class_init (GstMeasureCollectorClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_FLAGS,
|
||||
g_param_spec_uint64 ("flags", "Flags",
|
||||
"Flags that control the operation of the element",
|
||||
0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
0, G_MAXUINT64, 0,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_FILENAME,
|
||||
g_param_spec_string ("filename", "Output file name",
|
||||
"A name of a file into which element will write the measurement \
|
||||
information", "", G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
"A name of a file into which element will write the measurement"
|
||||
" information", "",
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
trans_class->event = GST_DEBUG_FUNCPTR (gst_measure_collector_event);
|
||||
|
||||
|
|
|
@ -1089,23 +1089,24 @@ gst_ssim_class_init (GstSSimClass * klass)
|
|||
g_param_spec_int ("ssim-type", "SSIM type",
|
||||
"Type of the SSIM metric. 0 - canonical. 1 - with fixed mu "
|
||||
"(almost the same results, but roughly 20% faster)",
|
||||
0, 1, 0, G_PARAM_READWRITE));
|
||||
0, 1, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_WINDOW_TYPE,
|
||||
g_param_spec_int ("window-type", "Window type",
|
||||
"Type of the weighting in the window. "
|
||||
"0 - no weighting. 1 - Gaussian weighting (controlled by \"sigma\")",
|
||||
0, 1, 1, G_PARAM_READWRITE));
|
||||
0, 1, 1, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_WINDOW_SIZE,
|
||||
g_param_spec_int ("window-size", "Window size",
|
||||
"Size of a window.", 1, 22, 11, G_PARAM_READWRITE));
|
||||
"Size of a window.", 1, 22, 11,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_GAUSS_SIGMA,
|
||||
g_param_spec_float ("gauss-sigma", "Deviation (for Gauss function)",
|
||||
"Used to calculate Gussian weights "
|
||||
"(only when using Gaussian window).",
|
||||
G_MINFLOAT, 10, 1.5, G_PARAM_READWRITE));
|
||||
G_MINFLOAT, 10, 1.5, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&gst_ssim_src_template));
|
||||
|
|
|
@ -302,7 +302,8 @@ gst_video_analyse_class_init (gpointer klass, gpointer class_data)
|
|||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_MESSAGE,
|
||||
g_param_spec_boolean ("message", "Message",
|
||||
"Post statics messages",
|
||||
DEFAULT_MESSAGE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_MESSAGE,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUC | G_PARAM_STATIC_STRINGST));
|
||||
|
||||
trans_class->set_caps = GST_DEBUG_FUNCPTR (gst_video_analyse_set_caps);
|
||||
trans_class->transform_ip =
|
||||
|
|
|
@ -461,43 +461,48 @@ gst_video_detect_class_init (gpointer klass, gpointer class_data)
|
|||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_MESSAGE,
|
||||
g_param_spec_boolean ("message", "Message",
|
||||
"Post statics messages",
|
||||
DEFAULT_MESSAGE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_MESSAGE,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_PATTERN_WIDTH,
|
||||
g_param_spec_int ("pattern-width", "Pattern width",
|
||||
"The width of the pattern markers", 1, G_MAXINT,
|
||||
DEFAULT_PATTERN_WIDTH, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_PATTERN_WIDTH,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_PATTERN_HEIGHT,
|
||||
g_param_spec_int ("pattern-height", "Pattern height",
|
||||
"The height of the pattern markers", 1, G_MAXINT,
|
||||
DEFAULT_PATTERN_HEIGHT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_PATTERN_HEIGHT,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_PATTERN_COUNT,
|
||||
g_param_spec_int ("pattern-count", "Pattern count",
|
||||
"The number of pattern markers", 0, G_MAXINT,
|
||||
DEFAULT_PATTERN_COUNT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_PATTERN_COUNT,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_PATTERN_DATA_COUNT,
|
||||
g_param_spec_int ("pattern-data-count", "Pattern data count",
|
||||
"The number of extra data pattern markers", 0, G_MAXINT,
|
||||
DEFAULT_PATTERN_DATA_COUNT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_PATTERN_DATA_COUNT,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_PATTERN_CENTER,
|
||||
g_param_spec_double ("pattern-center", "Pattern center",
|
||||
"The center of the black/white separation (0.0 = lowest, 1.0 highest)",
|
||||
0.0, 1.0, DEFAULT_PATTERN_CENTER,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_PATTERN_SENSITIVITY,
|
||||
g_param_spec_double ("pattern-sensitivity", "Pattern sensitivity",
|
||||
"The sensitivity around the center for detecting the markers "
|
||||
"(0.0 = lowest, 1.0 highest)", 0.0, 1.0, DEFAULT_PATTERN_SENSITIVITY,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_LEFT_OFFSET,
|
||||
g_param_spec_int ("left-offset", "Left Offset",
|
||||
"The offset from the left border where the pattern starts", 0,
|
||||
G_MAXINT, DEFAULT_LEFT_OFFSET,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_BOTTOM_OFFSET,
|
||||
g_param_spec_int ("bottom-offset", "Bottom Offset",
|
||||
"The offset from the bottom border where the pattern starts", 0,
|
||||
G_MAXINT, DEFAULT_BOTTOM_OFFSET,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
trans_class->set_caps = GST_DEBUG_FUNCPTR (gst_video_detect_set_caps);
|
||||
trans_class->transform_ip = GST_DEBUG_FUNCPTR (gst_video_detect_transform_ip);
|
||||
|
|
|
@ -348,41 +348,47 @@ gst_video_mark_class_init (gpointer klass, gpointer class_data)
|
|||
g_object_class_install_property (gobject_class, PROP_PATTERN_WIDTH,
|
||||
g_param_spec_int ("pattern-width", "Pattern width",
|
||||
"The width of the pattern markers", 1, G_MAXINT,
|
||||
DEFAULT_PATTERN_WIDTH, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_PATTERN_WIDTH,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_PATTERN_HEIGHT,
|
||||
g_param_spec_int ("pattern-height", "Pattern height",
|
||||
"The height of the pattern markers", 1, G_MAXINT,
|
||||
DEFAULT_PATTERN_HEIGHT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_PATTERN_HEIGHT,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_PATTERN_COUNT,
|
||||
g_param_spec_int ("pattern-count", "Pattern count",
|
||||
"The number of pattern markers", 0, G_MAXINT,
|
||||
DEFAULT_PATTERN_COUNT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_PATTERN_COUNT,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_PATTERN_DATA_COUNT,
|
||||
g_param_spec_int ("pattern-data-count", "Pattern data count",
|
||||
"The number of extra data pattern markers", 0, 64,
|
||||
DEFAULT_PATTERN_DATA_COUNT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_PATTERN_DATA_COUNT,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_PATTERN_DATA_64,
|
||||
g_param_spec_uint64 ("pattern-data-uint64", "Pattern data",
|
||||
"The extra data pattern markers", 0, G_MAXUINT64,
|
||||
DEFAULT_PATTERN_DATA, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_PATTERN_DATA,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_PATTERN_DATA,
|
||||
g_param_spec_int ("pattern-data", "Pattern data",
|
||||
"The extra data pattern markers", 0, G_MAXINT,
|
||||
DEFAULT_PATTERN_DATA, G_PARAM_READWRITE));
|
||||
DEFAULT_PATTERN_DATA, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_ENABLED,
|
||||
g_param_spec_boolean ("enabled", "Enabled",
|
||||
"Enable or disable the filter",
|
||||
DEFAULT_ENABLED, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_ENABLED,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_LEFT_OFFSET,
|
||||
g_param_spec_int ("left-offset", "Left Offset",
|
||||
"The offset from the left border where the pattern starts", 0,
|
||||
G_MAXINT, DEFAULT_LEFT_OFFSET,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_BOTTOM_OFFSET,
|
||||
g_param_spec_int ("bottom-offset", "Bottom Offset",
|
||||
"The offset from the bottom border where the pattern starts", 0,
|
||||
G_MAXINT, DEFAULT_BOTTOM_OFFSET,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
trans_class->set_caps = GST_DEBUG_FUNCPTR (gst_video_mark_set_caps);
|
||||
trans_class->transform_ip = GST_DEBUG_FUNCPTR (gst_video_mark_transform_ip);
|
||||
|
|
Loading…
Reference in a new issue