~ubuntu-branches/debian/experimental/gpac/experimental

« back to all changes in this revision

Viewing changes to modules/directfb_out/directfb_out.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2014-02-22 18:15:00 UTC
  • mfrom: (1.2.2) (3.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20140222181500-b4phupo05gjpmopa
Tags: 0.5.0+svn5104~dfsg1-1
* New  upstream version 0.5.0+svn5104~dfsg1:
  - src/utils/sha1.c is relicensed under LGPLv2.1, Closes: #730759
* Don't install modules in multi-arch directories, Closes: #730497
* Add libusb-1.0.0-dev headers because libfreenect requires this
* Fix install rule
* Follow upstream soname bump
  - Drop the symbols file for now until it has been revised thourougly
* Let binaries produce the correct svn revision
* Refresh patches
* Patch and build against libav10, Closes: #739321
* Bump standards version, no changes necessary

Show diffs side-by-side

added added

removed removed

Lines of Context:
279
279
                if (ret != 0) return GF_IO_ERR;
280
280
 
281
281
                // fetch data
 
282
                memset(video_info, 0, sizeof(GF_VideoSurface));
282
283
                video_info->width = DirectFBVid_CtxGetWidth(ctx);
283
284
                video_info->height = DirectFBVid_CtxGetHeight(ctx);
284
285
                video_info->pitch_x = 0;
365
366
 
366
367
 
367
368
/*interface query*/
368
 
GF_EXPORT
 
369
GPAC_MODULE_EXPORT
369
370
const u32 *QueryInterfaces()
370
371
{
371
372
        static u32 si [] = {
377
378
 
378
379
 
379
380
/*interface create*/
380
 
GF_EXPORT
 
381
GPAC_MODULE_EXPORT
381
382
GF_BaseInterface *LoadInterface(u32 InterfaceType)
382
383
{
383
384
        if (InterfaceType == GF_VIDEO_OUTPUT_INTERFACE) return DirectFBNewVideo();
386
387
 
387
388
 
388
389
/*interface destroy*/
389
 
GF_EXPORT
 
390
GPAC_MODULE_EXPORT
390
391
void ShutdownInterface(GF_BaseInterface *ifce)
391
392
{
392
393
        switch (ifce->InterfaceType) {
395
396
                break;
396
397
        }
397
398
}
 
399
 
 
400
GPAC_MODULE_STATIC_DELARATION( directfb_out )