mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-05-05 16:04:50 +00:00
now require gst_control_init to initialise dparams
Original commit message from CVS: now require gst_control_init to initialise dparams
This commit is contained in:
parent
781018c528
commit
f99520e539
1 changed files with 1 additions and 5 deletions
|
@ -9,11 +9,6 @@ static gint quit_live(GtkWidget *window, GdkEventAny *e, gpointer data) {
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
//static void volume_changed(GtkAdjustment *adj,GstElement *element) {
|
||||
//fprintf(stderr,"setting volume to %f\n",adj->value);
|
||||
// gtk_object_set(GTK_OBJECT(element),"volume",adj->value,NULL);
|
||||
//}
|
||||
|
||||
static void dynparm_log_value_changed(GtkAdjustment *adj,GstDParam *dparam) {
|
||||
GValue **point;
|
||||
g_return_if_fail(dparam != NULL);
|
||||
|
@ -61,6 +56,7 @@ int main(int argc,char *argv[]) {
|
|||
|
||||
gtk_init(&argc,&argv);
|
||||
gst_init(&argc,&argv);
|
||||
gst_control_init(&argc,&argv);
|
||||
|
||||
/***** construct the pipeline *****/
|
||||
|
||||
|
|
Loading…
Reference in a new issue