~ubuntu-branches/ubuntu/feisty/gst-plugins-good0.10/feisty-security

« back to all changes in this revision

Viewing changes to gst/rtp/gstrtpmp4gdepay.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2006-12-21 21:12:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20061221211215-3uukkusokhe0nk4f
Tags: 0.10.5-0ubuntu1
* Sync with pkg-gstreamer SVN:
  + debian/rules:
    - Use Ubuntu as distribution name and point to the proper Launchpad URL
  + debian/patches/01_esdsink-priority.patch:
    - Mark the esdsink with rank primary-2 to get
      pulse > alsadmix > esd > alsa > oss

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
/* elementfactory information */
33
33
static const GstElementDetails gst_rtp_mp4gdepay_details =
34
 
GST_ELEMENT_DETAILS ("RTP packet parser",
35
 
    "Codec/Depay/Network",
 
34
GST_ELEMENT_DETAILS ("RTP packet depayloader",
 
35
    "Codec/Depayloader/Network",
36
36
    "Extracts MPEG4 elementary streams from RTP packets (RFC 3640)",
37
37
    "Wim Taymans <wim@fluendo.com>");
38
38
 
68
68
        "clock-rate = (int) [1, MAX ], "
69
69
        "encoding-name = (string) \"mpeg4-generic\", "
70
70
        /* required string params */
71
 
        "streamtype = (int) { \"4\", \"5\" }, " /* 4 = video, 5 = audio */
72
 
        "profile-level-id = (int) [1,MAX], "
 
71
        "streamtype = (string) { \"4\", \"5\" }, "      /* 4 = video, 5 = audio */
 
72
        /* "profile-level-id = (string) [1,MAX], " */
73
73
        /* "config = (string) [1,MAX]" */
74
 
        "mode = (string) { \"generic\", \"CELP-cbr\", \"CELP-vbr\", \"AAC-lbr\", \"AAC-hbr\" }, "
 
74
        "mode = (string) { \"generic\", \"CELP-cbr\", \"CELP-vbr\", \"AAC-lbr\", \"AAC-hbr\" } "
75
75
        /* Optional general parameters */
76
 
        "objecttype = (int) [1,MAX], " "constantsize = (int) [1,MAX], " /* constant size of each AU */
77
 
        "constantduration = (int) [1,MAX], "    /* constant duration of each AU */
78
 
        "maxdisplacement = (int) [1,MAX], "
79
 
        "de-interleavebuffersize = (int) [1,MAX], "
 
76
        /* "objecttype = (string) [1,MAX], " */
 
77
        /* "constantsize = (string) [1,MAX], " *//* constant size of each AU */
 
78
        /* "constantduration = (string) [1,MAX], " *//* constant duration of each AU */
 
79
        /* "maxdisplacement = (string) [1,MAX], " */
 
80
        /* "de-interleavebuffersize = (string) [1,MAX], " */
80
81
        /* Optional configuration parameters */
81
 
        "sizelength = (int) [1, 16], "  /* max 16 bits, should be enough... */
82
 
        "indexlength = (int) [1, 8], "
83
 
        "indexdeltalength = (int) [1, 8], "
84
 
        "ctsdeltalength = (int) [1, 64], "
85
 
        "dtsdeltalength = (int) [1, 64], "
86
 
        "randomaccessindication = (int) {0, 1}, "
87
 
        "streamstateindication = (int) [0, 64], "
88
 
        "auxiliarydatasizelength = (int) [0, 64]")
 
82
        /* "sizelength = (string) [1, 16], " *//* max 16 bits, should be enough... */
 
83
        /* "indexlength = (string) [1, 8], " */
 
84
        /* "indexdeltalength = (string) [1, 8], " */
 
85
        /* "ctsdeltalength = (string) [1, 64], " */
 
86
        /* "dtsdeltalength = (string) [1, 64], " */
 
87
        /* "randomaccessindication = (string) {0, 1}, " */
 
88
        /* "streamstateindication = (string) [0, 64], " */
 
89
        /* "auxiliarydatasizelength = (string) [0, 64]" */ )
89
90
    );
90
91
 
91
92
GST_BOILERPLATE (GstRtpMP4GDepay, gst_rtp_mp4g_depay, GstBaseRTPDepayload,
127
128
 
128
129
  gobject_class = (GObjectClass *) klass;
129
130
  gstelement_class = (GstElementClass *) klass;
130
 
 
131
131
  gstbasertpdepayload_class = (GstBaseRTPDepayloadClass *) klass;
132
132
 
133
133
  parent_class = g_type_class_peek_parent (klass);
378
378
gst_rtp_mp4g_depay_plugin_init (GstPlugin * plugin)
379
379
{
380
380
  return gst_element_register (plugin, "rtpmp4gdepay",
381
 
      GST_RANK_NONE, GST_TYPE_RTP_MP4G_DEPAY);
 
381
      GST_RANK_MARGINAL, GST_TYPE_RTP_MP4G_DEPAY);
382
382
}