~ubuntu-branches/ubuntu/saucy/gnash/saucy-proposed

« back to all changes in this revision

Viewing changes to libdevice/vaapi/VaapiImage.cpp

  • Committer: Package Import Robot
  • Author(s): Micah Gersten
  • Date: 2012-03-04 03:19:06 UTC
  • mfrom: (1.1.18) (3.1.24 sid)
  • Revision ID: package-import@ubuntu.com-20120304031906-p6q5rnb0xhgpof7o
Tags: 0.8.10-3ubuntu1
* Merge from Debian testing (FFe: LP: #940876), remaining changes:
  - Use mozilla-flashplugin as the alternative for now
  - Change xulrunner-dev build dep to firefox-dev
* Drop the plugin API porting patch, this has been fixed upstream
  - drop debian/patches*
* Drop the following change as we want Adobe's player to take priority
  if it's installed
  - Set alternative priority to 50 so that it matches Adobe Flash's priority

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// VaapiImage.cpp: VA image abstraction
2
2
// 
3
 
// Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
 
3
//   Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
4
4
// 
5
5
// This program is free software; you can redistribute it and/or modify
6
6
// it under the terms of the GNU General Public License as published by
35
35
    : _format(format)
36
36
    , _image_data(NULL)
37
37
{
38
 
    log_debug("VaapiImage::VaapiImage(): format '%s'\n", string_of_FOURCC(format));
 
38
    log_debug(_("VaapiImage::VaapiImage(): format '%s'\n", string_of_FOURCC(format)));
39
39
 
40
40
    memset(&_image, 0, sizeof(_image));
41
41
    _image.image_id = VA_INVALID_ID;
79
79
    if (!vaapi_check_status(status, "vaCreateImage()"))
80
80
        return false;
81
81
 
82
 
    log_debug("  image 0x%08x, format '%s'\n", get(), string_of_FOURCC(_format));
 
82
    log_debug(_("  image 0x%08x, format '%s'\n", get(), string_of_FOURCC(_format)));
83
83
 
84
84
    return true;
85
85
}