So I want to scale the video to a surface with specified size(like 500x400)
I test a demo code, like:
1.dfb->CreateVideoProvider(dfb,"/1.mpg",&videoprovider);
2.Set the value of  WindowDescription (desc);
3.layer->CreateWindow(layer,&desc,&videowindow);
4.videowindow->GetSurface(videowindow,&videosurface);
5.videoprovider->PlayTo(videoprovider,videosurface,NULL,NULL,NULL);
If give the the rectangle parameter (with different values from the video's size) to the PlayTo function,
there's a running error

Is there any method to do it??
3ks a ton!
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to