Ticket #12479: hls_fix.patch

File hls_fix.patch, 1.5 KB (added by William Wilhelm <will@…>, 9 years ago)
  • mythtv/libs/libmythtv/mythframe.h

    diff --git a/mythtv/libs/libmythtv/mythframe.h b/mythtv/libs/libmythtv/mythframe.h
    index 444b676..f27da5b 100644
    a b static inline void init(VideoFrame *vf, VideoFrameType _codec, 
    9595                        const int *p = 0,
    9696                        const int *o = 0,
    9797                        float _aspect = -1.0f, double _rate = -1.0f,
    98                         int _aligned = 64) MUNUSED;
     98                        int _aligned = 0) MUNUSED;
    9999static inline void clear(VideoFrame *vf);
    100100static inline bool compatible(const VideoFrame *a,
    101101                              const VideoFrame *b) MUNUSED;
    static inline int bitsperpixel(VideoFrameType type) 
    284284}
    285285
    286286static inline uint buffersize(VideoFrameType type, int width, int height,
    287                               int _aligned = 64)
     287                              int _aligned = 16)
    288288{
    289289    int  type_bpp = bitsperpixel(type);
    290290    uint bpp = type_bpp / 4; /* bits per pixel div common factor */
  • mythtv/libs/libmythtv/videobuffers.h

    diff --git a/mythtv/libs/libmythtv/videobuffers.h b/mythtv/libs/libmythtv/videobuffers.h
    index 14fed78..b1f93c1 100644
    a b class YUVInfo 
    4747{
    4848  public:
    4949    YUVInfo(uint w, uint h, uint size, const int *p, const int *o,
    50             int aligned = 64);
     50            int aligned = 0);
    5151
    5252  public:
    5353    uint width;