~ubuntu-branches/ubuntu/vivid/gstreamer-vaapi/vivid

« back to all changes in this revision

Viewing changes to gst/vaapi/gstvaapi.c

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng
  • Date: 2014-08-06 23:56:00 UTC
  • mfrom: (0.1.4 sid) (1.1.3)
  • Revision ID: package-import@ubuntu.com-20140806235600-fg1kcmiu67k315q5
Tags: 0.5.9-2
* Remove spurious build-deps: libva-drm1, libavcodec-dev. (Closes: #757283)
* Drop Build-Depends-Indep and build docs unconditionally on all archs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include "gstvaapipostproc.h"
31
31
#include "gstvaapisink.h"
32
32
 
 
33
#if USE_ENCODERS
 
34
#include "gstvaapiencode_h264.h"
 
35
#include "gstvaapiencode_mpeg2.h"
 
36
#endif
 
37
 
33
38
#define PLUGIN_NAME     "vaapi"
34
39
#define PLUGIN_DESC     "VA-API based elements"
35
40
#define PLUGIN_LICENSE  "LGPL"
54
59
    gst_element_register(plugin, "vaapisink",
55
60
                         GST_RANK_PRIMARY,
56
61
                         GST_TYPE_VAAPISINK);
 
62
#if USE_ENCODERS
 
63
    gst_element_register(plugin, "vaapiencode_h264",
 
64
                         GST_RANK_PRIMARY,
 
65
                         GST_TYPE_VAAPIENCODE_H264);
 
66
    gst_element_register(plugin, "vaapiencode_mpeg2",
 
67
                         GST_RANK_PRIMARY,
 
68
                         GST_TYPE_VAAPIENCODE_MPEG2);
 
69
#endif
 
70
 
57
71
    return TRUE;
58
72
}
59
73