[Pkg-gstreamer-commits] [gstreamer-vaapi] 97/176: vaapiencode: make GstVaapiEncode an abstract type.

Vincent Cheng vcheng at moszumanska.debian.org
Tue Jun 3 08:09:31 UTC 2014


This is an automated email from the git hooks/post-receive script.

vcheng pushed a commit to branch upstream
in repository gstreamer-vaapi.

commit 37fa6a8a3db67ea661ff4d514e233c2e5337f8db
Author: Gwenole Beauchesne <gwenole.beauchesne at intel.com>
Date:   Wed Jan 8 18:56:23 2014 +0100

    vaapiencode: make GstVaapiEncode an abstract type.
    
    Make base GstVaapiEncode class an abstract type so that we cannot
    create an instance from it without going through any of the codec
    specific derived class.
---
 gst/vaapi/gstvaapiencode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gst/vaapi/gstvaapiencode.c b/gst/vaapi/gstvaapiencode.c
index 2276b11..f5b0606 100644
--- a/gst/vaapi/gstvaapiencode.c
+++ b/gst/vaapi/gstvaapiencode.c
@@ -41,7 +41,7 @@
 GST_DEBUG_CATEGORY_STATIC (gst_vaapiencode_debug);
 #define GST_CAT_DEFAULT gst_vaapiencode_debug
 
-G_DEFINE_TYPE_WITH_CODE (GstVaapiEncode,
+G_DEFINE_ABSTRACT_TYPE_WITH_CODE (GstVaapiEncode,
     gst_vaapiencode, GST_TYPE_VIDEO_ENCODER,
     GST_VAAPI_PLUGIN_BASE_INIT_INTERFACES);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gstreamer/gstreamer-vaapi.git



More information about the Pkg-gstreamer-commits mailing list