spa_serialize -> pinos_serialize
Improve PinosPort, move links to the object and make it part of
PinosNode
Work on improving signals to react to changes in the graph
Error when a client-node becomes unlinked, like when removing a camera.
This commit is contained in:
Wim Taymans 2016-10-19 17:18:30 +02:00
parent 70fb53cdc6
commit 98dbb6424d
13 changed files with 350 additions and 339 deletions

View file

@ -146,13 +146,13 @@ handle_video_format (ConvertData *d)
*sv = gst_video_format_from_string (g_value_get_string (val));
d->p = ++sv;
} else if (G_VALUE_TYPE (val) == GST_TYPE_LIST) {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d->f->props, d->pi);
} else if (G_VALUE_TYPE (val) == GST_TYPE_ARRAY) {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d->f->props, d->pi);
} else {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d->f->props, d->pi);
}
d->pi++;
@ -204,13 +204,13 @@ handle_video_size (ConvertData *d)
SPA_PROPS_INDEX_UNSET (&d->f->props, d->pi);
} else if (G_VALUE_TYPE (val) == GST_TYPE_LIST) {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d->f->props, d->pi);
} else if (G_VALUE_TYPE (val) == GST_TYPE_ARRAY) {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d->f->props, d->pi);
} else {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d->f->props, d->pi);
}
}
@ -266,13 +266,13 @@ handle_video_framerate (ConvertData *d)
SPA_PROPS_INDEX_UNSET (&d->f->props, d->pi);
} else if (G_VALUE_TYPE (val) == GST_TYPE_LIST) {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d->f->props, d->pi);
} else if (G_VALUE_TYPE (val) == GST_TYPE_ARRAY) {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d->f->props, d->pi);
} else {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d->f->props, d->pi);
}
d->pi++;
@ -329,13 +329,13 @@ convert_1 (GstCapsFeatures *cf, GstStructure *cs)
*sv = gst_audio_format_from_string (g_value_get_string (val));
d.p = ++sv;
} else if (G_VALUE_TYPE (val) == GST_TYPE_LIST) {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d.f->props, d.pi);
} else if (G_VALUE_TYPE (val) == GST_TYPE_ARRAY) {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d.f->props, d.pi);
} else {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d.f->props, d.pi);
}
d.pi++;
@ -356,13 +356,13 @@ convert_1 (GstCapsFeatures *cf, GstStructure *cs)
*sv = SPA_AUDIO_LAYOUT_NON_INTERLEAVED;
d.p = ++sv;
} else if (G_VALUE_TYPE (val) == GST_TYPE_LIST) {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d.f->props, d.pi);
} else if (G_VALUE_TYPE (val) == GST_TYPE_ARRAY) {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d.f->props, d.pi);
} else {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d.f->props, d.pi);
}
d.pi++;
@ -379,13 +379,13 @@ convert_1 (GstCapsFeatures *cf, GstStructure *cs)
*sv = g_value_get_int (val);
d.p = ++sv;
} else if (G_VALUE_TYPE (val) == GST_TYPE_LIST) {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d.f->props, d.pi);
} else if (G_VALUE_TYPE (val) == GST_TYPE_ARRAY) {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d.f->props, d.pi);
} else {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d.f->props, d.pi);
}
d.pi++;
@ -402,13 +402,13 @@ convert_1 (GstCapsFeatures *cf, GstStructure *cs)
*sv = g_value_get_int (val);
d.p = ++sv;
} else if (G_VALUE_TYPE (val) == GST_TYPE_LIST) {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d.f->props, d.pi);
} else if (G_VALUE_TYPE (val) == GST_TYPE_ARRAY) {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d.f->props, d.pi);
} else {
fprintf (stderr, "implement me\n");
g_debug ("implement me");
SPA_PROPS_INDEX_UNSET (&d.f->props, d.pi);
}
d.pi++;