6 More Discussions You Might Find Interesting
1. Infrastructure Monitoring
Hello!
For a couple of years I'm developing an IT infrastructure monitoring system in the research group in my university. And now we would like to use some nontrivial methods in this area.
So, I decided to contact with experienced users on the subject. My questions would be:
Do existing... (3 Replies)
Discussion started by: pyalxx
3 Replies
2. UNIX for Advanced & Expert Users
Hi,
on AIX 6,
are the system events historicized ? I want to know how was the performance on 18th of march. Is there any way ?
thanks and regards. (2 Replies)
Discussion started by: big123456
2 Replies
3. UNIX for Advanced & Expert Users
What will happen if signal comes while a system call is being executed?
How it will be handled? (1 Reply)
Discussion started by: rupeshkp728
1 Replies
4. UNIX for Advanced & Expert Users
In Linux in older versions the user calls were routed to their corresponding system calls through interrupt 80 which was handled by system_call().
I mean say for the user mode function read() there was a corresponding kernel mode function.
The system call index was fed in eax register and was... (2 Replies)
Discussion started by: rupeshkp728
2 Replies
5. Shell Programming and Scripting
Hi All,
I have problem with a csh script. This script simply search for a certail process id and kill that using simple kill -5 <pid>. Everything is okay untill there is valid process id trapped. But if the process id is already cleaned before the execution of the kill command, but script ends... (2 Replies)
Discussion started by: sraj142
2 Replies
6. Shell Programming and Scripting
Hi ,
Is there any way to achieve following using perl program (i.e without using system command).
1.system ("echo 'test' > /usr/spool/ship.csv");
2.system ("cat /usr/ajay_test* >> /usr/spool/RAM/work/patil.csv");
3.system("> /usr/spool/ajay.txt");
e.g
for system("rm -f... (1 Reply)
Discussion started by: ajaypatil_am
1 Replies
GStreamer::Event(3pm) User Contributed Perl Documentation GStreamer::Event(3pm)
NAME
GStreamer::Event - Structure describing events that are passed up and down a pipeline
DESCRIPTION
The various event types are represented as subclasses:
GStreamer::Event::FlushStart
GStreamer::Event::FlushStop
GStreamer::Event::EOS
GStreamer::Event::NewSegment
GStreamer::Event::Tag
GStreamer::Event::BufferSize
GStreamer::Event::QOS
GStreamer::Event::Seek
GStreamer::Event::Navigation
GStreamer::Event::Custom::UP
GStreamer::Event::Custom::DS
GStreamer::Event::Custom::DS::OOB
GStreamer::Event::Custom::Both
GStreamer::Event::Custom::Both::OOB
To create a new event, you call the constructor of the corresponding class.
To check if an event is of a certain type, use the type method:
if ($event -> type eq "newsegment") {
# ...
}
elsif ($event -> type eq "eos") {
# ...
}
To get to the content of an event, call the corresponding accessor:
if ($event -> type eq "newsegment") {
my $update = $event -> update;
my $rate = $event -> rate;
my $format = $event -> format;
my $start_value = $event -> start_value;
my $stop_value = $event -> stop_value;
my $stream_time = $event -> stream_time;
# ...
}
elsif ($event -> type eq "tag") {
my $tag = $event -> tag;
# ...
}
METHODS
structure = $event->get_structure
eventtype = $event->type
ENUMS AND FLAGS
enum GStreamer::EventType
o 'unknown' / 'GST_EVENT_UNKNOWN'
o 'flush-start' / 'GST_EVENT_FLUSH_START'
o 'flush-stop' / 'GST_EVENT_FLUSH_STOP'
o 'eos' / 'GST_EVENT_EOS'
o 'newsegment' / 'GST_EVENT_NEWSEGMENT'
o 'tag' / 'GST_EVENT_TAG'
o 'buffersize' / 'GST_EVENT_BUFFERSIZE'
o 'sink-message' / 'GST_EVENT_SINK_MESSAGE'
o 'qos' / 'GST_EVENT_QOS'
o 'seek' / 'GST_EVENT_SEEK'
o 'navigation' / 'GST_EVENT_NAVIGATION'
o 'latency' / 'GST_EVENT_LATENCY'
o 'step' / 'GST_EVENT_STEP'
o 'custom-upstream' / 'GST_EVENT_CUSTOM_UPSTREAM'
o 'custom-downstream' / 'GST_EVENT_CUSTOM_DOWNSTREAM'
o 'custom-downstream-oob' / 'GST_EVENT_CUSTOM_DOWNSTREAM_OOB'
o 'custom-both' / 'GST_EVENT_CUSTOM_BOTH'
o 'custom-both-oob' / 'GST_EVENT_CUSTOM_BOTH_OOB'
SEE ALSO
GStreamer
COPYRIGHT
Copyright (C) 2005-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See GStreamer for a full notice.
perl v5.14.2 2012-03-01 GStreamer::Event(3pm)