~ubuntu-branches/debian/sid/kodi/sid

« back to all changes in this revision

Viewing changes to xbmc/video/VideoThumbLoader.h

  • Committer: Package Import Robot
  • Author(s): Balint Reczey
  • Date: 2015-08-18 14:16:59 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20150818141659-4lgq2pksj7918osz
Tags: 15.1+dfsg1-1
* New upstream release 15.0
  See http://www.kodi.tv/kodi-15-0-isengard-one-release-to-rule-them-all/
* Depend on libav.*-dev provided by src:ffmpeg
* Recommend udisks2 instead of udisks.
  Udisks has been removed from unstable but support for udisks2 is not
  implemented yet.
* Ship patch helping Jessie backports
* Refresh patches
* Eliminate __DATE__ macros from source to make build more reproducible
* Build-depend on libsdl2.*-dev instead of libsdl.*-dev
* Build-depend on libgif-dev
* Drop obsoleted fix of installed header's include paths
* Refresh include file list included by kodi-addons-dev
* Build depend on libcec (>= 3)
* Build-depend on groovy2 instead of groovy
* Sort build dependencies
* Fix packaging repository URL
* Remove removed files from debian/copyright
* Fix filenames with spaces in debian/copyright
* Ship TexturePacker in kodi-addons-dev in /usr/lib/kodi
* Build depend on libcec-platform-dev
* Stop using embedded gnulib modules in rsxs screensaver (Closes: #795813)
* Add missing copyright paragraphs to d/copyright
* Stop marking files as excluded which are removed from upstream tarball
  already
* Bump standards version to 3.9.6
* New upstream release 15.1
  See http://kodi.tv/kodi-15-1-isengard-maintenance-release/
* Move TexturePacker to kodi-bin
* Stop building TexturePacker statically

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
class CThumbExtractor : public CJob
39
39
{
40
40
public:
41
 
  CThumbExtractor(const CFileItem& item, const CStdString& listpath, bool thumb, const CStdString& strTarget="");
 
41
  CThumbExtractor(const CFileItem& item, const std::string& listpath, bool thumb, const std::string& strTarget="", int64_t pos = -1, bool fillStreamDetails = true);
42
42
  virtual ~CThumbExtractor();
43
43
 
44
44
  /*!
53
53
 
54
54
  virtual bool operator==(const CJob* job) const;
55
55
 
56
 
  CStdString m_target; ///< thumbpath
57
 
  CStdString m_listpath; ///< path used in fileitem list
 
56
  std::string m_target; ///< thumbpath
 
57
  std::string m_listpath; ///< path used in fileitem list
58
58
  CFileItem  m_item;
59
59
  bool       m_thumb; ///< extract thumb?
 
60
  int64_t    m_pos; ///< position to extract thumb from
 
61
  bool m_fillStreamDetails; ///< fill in stream details? 
60
62
};
61
63
 
62
64
class CVideoThumbLoader : public CThumbLoader, public CJobQueue
99
101
   \param item a video CFileItem.
100
102
   \return a URL for the embedded thumb.
101
103
   */
102
 
  static CStdString GetEmbeddedThumbURL(const CFileItem &item);
 
104
  static std::string GetEmbeddedThumbURL(const CFileItem &item);
103
105
 
104
106
  /*! \brief helper function to fill the art for a video library item
105
107
   \param item a video CFileItem