ui/replay: file extensions to .cc and .h (#20805)

old-commit-hash: bdf4a94cd03746e498d21d8224e625135632b1c3
This commit is contained in:
Dean Lee
2021-05-04 11:22:32 +08:00
committed by GitHub
parent 8a759792c4
commit 9159291a09
10 changed files with 9 additions and 9 deletions
@@ -1,4 +1,4 @@
#include "FrameReader.hpp"
#include "FrameReader.h"
#include <assert.h>
#include <unistd.h>
@@ -9,7 +9,7 @@
#include <list>
#include <condition_variable>
#include "channel.hpp"
#include "channel.h"
// independent of QT, needs ffmpeg
extern "C" {
+1 -1
View File
@@ -4,5 +4,5 @@ env['CPPPATH'] += [get_paths()['include']]
from Cython.Build import cythonize
cythonize("cframereader.pyx")
env.SharedLibrary(File('cframereader.so'), ['cframereader.cpp', 'FrameReader.cpp'], LIBS=['avformat', 'avcodec', 'avutil', 'swscale'])
env.SharedLibrary(File('cframereader.so'), ['cframereader.cpp', 'FrameReader.cc'], LIBS=['avformat', 'avcodec', 'avutil', 'swscale'])
+1 -1
View File
@@ -1,7 +1,7 @@
# distutils: language = c++
# cython: language_level=3
cdef extern from "FrameReader.hpp":
cdef extern from "FrameReader.h":
cdef cppclass CFrameReader "FrameReader":
CFrameReader(const char *)
char *get(int)