projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ba9e9d
)
filesink: Fix Windows build by using _commit instead of fsync.
author
Jan Schmidt
<jan@centricular.com>
Mon, 8 Jun 2015 14:52:34 +0000
(
00:52
+1000)
committer
Jan Schmidt
<jan@centricular.com>
Mon, 8 Jun 2015 14:52:34 +0000
(
00:52
+1000)
plugins/elements/gstfilesink.c
patch
|
blob
|
history
diff --git
a/plugins/elements/gstfilesink.c
b/plugins/elements/gstfilesink.c
index
3751150
..
bbea358
100644
(file)
--- a/
plugins/elements/gstfilesink.c
+++ b/
plugins/elements/gstfilesink.c
@@
-60,6
+60,8
@@
#define ftruncate _chsize
#ifdef _MSC_VER /* Check if we are using MSVC, fileno is deprecated in favour */
#define fileno _fileno /* of _fileno */
+#undef fsync
+#define fsync _commit
#endif
#endif