mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 09:38:17 +00:00
paramspec type fix, make the source pads GST_PAD_SOMETIMES
Original commit message from CVS: paramspec type fix, make the source pads GST_PAD_SOMETIMES
This commit is contained in:
parent
17159aeccf
commit
42145d6e8f
1 changed files with 4 additions and 4 deletions
|
@ -74,7 +74,7 @@ GST_PADTEMPLATE_FACTORY (sink_templ,
|
||||||
GST_PADTEMPLATE_FACTORY (src_video_templ,
|
GST_PADTEMPLATE_FACTORY (src_video_templ,
|
||||||
"video_[00-32]",
|
"video_[00-32]",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_SOMETIMES,
|
||||||
GST_CAPS_NEW (
|
GST_CAPS_NEW (
|
||||||
"avidemux_src_video",
|
"avidemux_src_video",
|
||||||
"video/avi",
|
"video/avi",
|
||||||
|
@ -117,7 +117,7 @@ GST_PADTEMPLATE_FACTORY (src_video_templ,
|
||||||
GST_PADTEMPLATE_FACTORY (src_audio_templ,
|
GST_PADTEMPLATE_FACTORY (src_audio_templ,
|
||||||
"audio_[00-32]",
|
"audio_[00-32]",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_SOMETIMES,
|
||||||
GST_CAPS_NEW (
|
GST_CAPS_NEW (
|
||||||
"avidemux_src_audio",
|
"avidemux_src_audio",
|
||||||
"video/avi",
|
"video/avi",
|
||||||
|
@ -207,8 +207,8 @@ gst_avi_demux_class_init (GstAviDemuxClass *klass)
|
||||||
g_param_spec_long ("current_time","current_time","current_time",
|
g_param_spec_long ("current_time","current_time","current_time",
|
||||||
G_MINLONG, G_MAXLONG, 0, G_PARAM_READABLE)); /* CHECKME */
|
G_MINLONG, G_MAXLONG, 0, G_PARAM_READABLE)); /* CHECKME */
|
||||||
g_object_class_install_property (G_OBJECT_CLASS(klass), ARG_FRAME_RATE,
|
g_object_class_install_property (G_OBJECT_CLASS(klass), ARG_FRAME_RATE,
|
||||||
g_param_spec_long ("frame-rate","frame rate","Current (non-averaged) frame rate",
|
g_param_spec_int ("frame-rate","frame rate","Current (non-averaged) frame rate",
|
||||||
0, G_MAXINT, 0, G_PARAM_READABLE));
|
0, G_MAXINT, 0, G_PARAM_READABLE));
|
||||||
|
|
||||||
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
|
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue