NULL);
if (camera->image_profile == NULL) {
- GstEncodingContainerProfile *prof;
GstEncodingVideoProfile *vprof;
GstCaps *caps;
vprof = gst_encoding_video_profile_new (caps, NULL, NULL, 1);
gst_encoding_video_profile_set_variableframerate (vprof, TRUE);
- prof = gst_encoding_container_profile_new ("jpeg", "jpeg container", caps,
- NULL);
- gst_encoding_container_profile_add_profile (prof,
- (GstEncodingProfile *) vprof);
-
gst_caps_unref (caps);
- camera->image_profile = (GstEncodingProfile *) prof;
+ camera->image_profile = (GstEncodingProfile *) vprof;
camera->image_profile_switch = TRUE;
}