max-files------ COMMAND IS NOT WORKING AND EVERYTHING WORKING FINE

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

max-files------ COMMAND IS NOT WORKING AND EVERYTHING WORKING FINE

Shubham Shrivastava
    g_object_set(G_OBJECT (data.multifilesink),"location","/home/","async",0, NULL);
    g_object_set(G_OBJECT (data.multifilesink),"post-messages",TRUE,"async",0, NULL);   
    g_object_set(G_OBJECT (data.multifilesink),"next-file", 4,"async",0, NULL);
    g_object_set(G_OBJECT (data.multifilesink), "max-file-size", 500000,"async",0, NULL);
    g_object_set(G_OBJECT (data.multifilesink), "max-files",5,"async",0, NULL);



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

AW: max-files------ COMMAND IS NOT WORKING AND EVERYTHING WORKING FINE

Thornton, Keith

Hi,

you appear to misunderstand that you can either set one command with a series of parameter pairs followed by NULL or you can set lots of commands containing a single pair followed by NULL. The pair “async”, 0 only needs to be set once.

Regards

 

Von: gstreamer-devel [mailto:[hidden email]] Im Auftrag von Shubham Shrivastava
Gesendet: Mittwoch, 22. August 2018 14:22
An: [hidden email]
Betreff: max-files------ COMMAND IS NOT WORKING AND EVERYTHING WORKING FINE

 

    g_object_set(G_OBJECT (data.multifilesink),"location","/home/","async",0, NULL);

    g_object_set(G_OBJECT (data.multifilesink),"post-messages",TRUE,"async",0, NULL);   

    g_object_set(G_OBJECT (data.multifilesink),"next-file", 4,"async",0, NULL);

    g_object_set(G_OBJECT (data.multifilesink), "max-file-size", 500000,"async",0, NULL);

    g_object_set(G_OBJECT (data.multifilesink), "max-files",5,"async",0, NULL);

 

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: max-files------ COMMAND IS NOT WORKING AND EVERYTHING WORKING FINE

Nicolas Dufresne-5
In reply to this post by Shubham Shrivastava


Le mer. 22 août 2018 08:26, Shubham Shrivastava <[hidden email]> a écrit :
    g_object_set(G_OBJECT (data.multifilesink),"location","/home/","async",0, NULL);

The location is a directory, this is not supported, refer to the element documentation, it's explained there.

    g_object_set(G_OBJECT (data.multifilesink),"post-messages",TRUE,"async",0, NULL);   
    g_object_set(G_OBJECT (data.multifilesink),"next-file", 4,"async",0, NULL);
    g_object_set(G_OBJECT (data.multifilesink), "max-file-size", 500000,"async",0, NULL);
    g_object_set(G_OBJECT (data.multifilesink), "max-files",5,"async",0, NULL);


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel