diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
index a56b1f566a3d0b5250a7acab59e68b46d994b89e..e06afadabea67deab328256fee701d2287a29022 100644
--- a/modules/codec/Makefile.am
+++ b/modules/codec/Makefile.am
@@ -542,7 +542,7 @@ libquicktime_plugin_la_LIBADD = $(LIBM)
 EXTRA_LTLIBRARIES += libquicktime_plugin.la
 codec_LTLIBRARIES += $(LTLIBquicktime)
 
-libgstdecode_plugin_la_SOURCES = codec/gstdecode.c
+libgstdecode_plugin_la_SOURCES = codec/gstreamer/gstdecode.c
 libgstdecode_plugin_la_CFLAGS = $(AM_CFLAGS) $(GST_VIDEO_CFLAGS) $(GST_APP_CFLAGS)
 libgstdecode_plugin_la_LIBADD = $(GST_VIDEO_LIBS) $(GST_APP_LIBS)
 if HAVE_GST_DECODE
diff --git a/modules/codec/gstdecode.c b/modules/codec/gstreamer/gstdecode.c
similarity index 100%
rename from modules/codec/gstdecode.c
rename to modules/codec/gstreamer/gstdecode.c
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 402b954c78e0bfc70ab0a5b5572dc5a30bf0cc50..1b6ccf0c29475ac8ba726c20bdc072ddd6b7b480 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -369,7 +369,7 @@ modules/codec/fdkaac.c
 modules/codec/flac.c
 modules/codec/fluidsynth.c
 modules/codec/g711.c
-modules/codec/gstdecode.c
+modules/codec/gstreamer/gstdecode.c
 modules/codec/jpeg.c
 modules/codec/kate.c
 modules/codec/libass.c