~ubuntu-branches/ubuntu/precise/ultrastar-ng/precise

« back to all changes in this revision

Viewing changes to include/video.h

  • Committer: Bazaar Package Importer
  • Author(s): Miriam Ruiz, Miriam Ruiz, Mario Bonino, Jon Dowland, Ansgar Burchardt
  • Date: 2008-06-07 16:43:18 UTC
  • mfrom: (4.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080607164318-4cnzizck1tp8mrwp
Tags: 0.2.1-1
[ Miriam Ruiz ]
* New Upstream Release (Closes: #453132)
* Removed unneeded patches
* Added packages to build deps:
  + libtool
  + portaudio19-dev | portaudio-dev
  + libboost-dev, libboost-thread-dev, libboost-serialization-dev
  + libboost-program-options-dev, libboost-regex-dev
* Moved shared objects to private directory: /usr/lib/ultraster-ng
* Added rpath to binaries to search for shared objects in the private dir
* Uses ultrastar-ng-gstreamer as default, instead of ultrastar-ng-xine,
  since there are significantly less issues with GStreamer.
* Added patch to fix upstream desktop file
* Added -Wl,-as-needed to LDFLAGS
* Replaced fftw3-dev by libfftw3-dev in build dependencies.
* Standards-Version upgraded to 3.7.3

[ Mario Bonino ]
* Fixed data/Makefile.am to install .desktop file and icon

[ Jon Dowland ]
* add Homepage: control field to source stanza
* fix a bashism in debian/rules (Closes: #478634)

[ Ansgar Burchardt ]
* debian/control: Change XS-Vcs-* to Vcs-*
* Remove Homepage semi-field from description

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
#define __VIDEO_H_
3
3
 
4
4
#include "../config.h"
 
5
#include <string>
5
6
       
6
7
class CVideo {
7
 
        public:
 
8
  public:
8
9
        CVideo();
9
10
        ~CVideo();
10
 
        void loadVideo(char * videoFile, SDL_Surface * videoSurf, int width , int height );
 
11
        bool loadVideo(std::string const& videoFile, SDL_Surface* videoSurf, int width, int height );
11
12
        void unloadVideo();
12
13
        bool isPlaying();
13
 
        void play(void);
14
 
 
15
 
        private:
 
14
        void play();
 
15
  private:
16
16
#ifdef USE_SMPEG
17
17
        SMPEG *mpeg;
18
18
        SMPEG_Info info;