summaryrefslogtreecommitdiff
path: root/src/kitsource.c
diff options
context:
space:
mode:
authorTuomas Virtanen <katajakasa@gmail.com>2016-01-14 04:22:02 +0200
committerTuomas Virtanen <katajakasa@gmail.com>2016-01-14 04:22:02 +0200
commitfb8b8f3b6b8b1905a3811ef3a6c396d0f3dc26a6 (patch)
tree0ed689179645fcde899f52e30fab4988891e2e7a /src/kitsource.c
parent28e4719f81e84b54e397970d09a85accd2d35543 (diff)
Add seeking
Diffstat (limited to 'src/kitsource.c')
-rw-r--r--src/kitsource.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kitsource.c b/src/kitsource.c
index b79207e..9a7b739 100644
--- a/src/kitsource.c
+++ b/src/kitsource.c
@@ -74,7 +74,7 @@ int Kit_GetSourceStreamInfo(const Kit_Source *src, Kit_StreamInfo *info, int ind
return 0;
}
-int Kit_GetBestSourceStream(const Kit_Source *src, const Kit_streamtype type) {
+int Kit_GetBestSourceStream(const Kit_Source *src, const Kit_StreamType type) {
assert(src != NULL);
int avmedia_type = 0;
switch(type) {
@@ -93,7 +93,7 @@ int Kit_GetBestSourceStream(const Kit_Source *src, const Kit_streamtype type) {
return ret;
}
-int Kit_SetSourceStream(Kit_Source *src, const Kit_streamtype type, int index) {
+int Kit_SetSourceStream(Kit_Source *src, const Kit_StreamType type, int index) {
assert(src != NULL);
switch(type) {
case KIT_STREAMTYPE_AUDIO: src->astream_idx = index; break;
@@ -105,7 +105,7 @@ int Kit_SetSourceStream(Kit_Source *src, const Kit_streamtype type, int index) {
return 0;
}
-int Kit_GetSourceStream(const Kit_Source *src, const Kit_streamtype type) {
+int Kit_GetSourceStream(const Kit_Source *src, const Kit_StreamType type) {
assert(src != NULL);
switch(type) {
case KIT_STREAMTYPE_AUDIO: return src->astream_idx;