~ubuntu-branches/ubuntu/trusty/gstreamer1.0/trusty

« back to all changes in this revision

Viewing changes to gst/gstcompat.h

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2012-09-14 09:04:41 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120914090441-1ul912ezvm3xfael
Tags: 0.11.94-1
* New upstream release:
  + debian/libgstreamer.symbols:
    - Update symbols file.
  + debian/control.in:
    - Build-depend on gtk-doc >= 1.12.
  + debian/patches/0001-netclientclock-simplify-by-using-g_socket_condition_.patch:
    - Dropped, merged upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
#define gst_pad_get_caps_reffed(p)             gst_pad_get_caps(p)
48
48
#define gst_pad_peer_get_caps_reffed(p)        gst_pad_peer_get_caps(p)
49
49
 
50
 
//#define gst_buffer_create_sub(b,o,s)           gst_buffer_copy_region(b,GST_BUFFER_COPY_ALL,o,s)
51
 
 
52
50
#define gst_buffer_new_and_alloc(s)            gst_buffer_new_allocate(NULL, s, NULL)
53
51
 
54
52
#define GST_BUFFER_TIMESTAMP          GST_BUFFER_PTS
80
78
 
81
79
#ifndef GST_DISABLE_DEPRECATED
82
80
 
 
81
#define GST_MESSAGE_DURATION GST_MESSAGE_DURATION_CHANGED
 
82
#define gst_message_new_duration(src,fmt,dur) \
 
83
    gst_message_new_duration_changed(src)
 
84
#define gst_message_parse_duration(msg,fmt,dur) \
 
85
G_STMT_START { \
 
86
  GstFormat *p_fmt = fmt; \
 
87
  gint64 *p_dur = dur; \
 
88
  if (p_fmt) \
 
89
    *p_fmt = GST_FORMAT_TIME; \
 
90
  if (p_dur) \
 
91
    *p_dur = GST_CLOCK_TIME_NONE; \
 
92
} G_STMT_END
 
93
 
83
94
#endif /* not GST_DISABLE_DEPRECATED */
84
95
 
85
96
G_END_DECLS